pgadmin4: apply patch for CVE-2024-2044

https://github.com/pgadmin-org/pgadmin4/issues/7258
This commit is contained in:
Thomas Gerbet
2024-03-17 13:00:32 +01:00
parent 00ec0eff9a
commit 66f2affcc6

View File

@@ -103,6 +103,12 @@ pythonPackages.buildPythonApplication rec {
./expose-setup.py.patch
# check for permission of /etc/pgadmin/config_system and don't fail
./check-system-config-dir.patch
(fetchpatch {
name = "CVE-2024-2044.patch";
url = "https://github.com/pgadmin-org/pgadmin4/commit/4e49d752fba72953acceeb7f4aa2e6e32d25853d.patch";
hash = "sha256-uIOWefMjbequVfS6haJeSbXv/I6ZdA7uCEwCZSnCtRM=";
excludes = [ "docs/en_US/release_notes_8_4.rst" ];
})
];
postPatch = ''