about summary refs log tree commit diff
path: root/pkgs/tools/admin
diff options
context:
space:
mode:
authorThomas Gerbet <thomas@gerbet.me>2024-03-17 13:00:32 +0100
committerThomas Gerbet <thomas@gerbet.me>2024-03-17 13:00:32 +0100
commit66f2affcc684bf0a654dad6cbe61385b07ca6876 (patch)
treebf83632eec60196bc206e65e4afbb4738fda7043 /pkgs/tools/admin
parent00ec0eff9a89f5cb457d9891652bfc73c117a871 (diff)
pgadmin4: apply patch for CVE-2024-2044
https://github.com/pgadmin-org/pgadmin4/issues/7258
Diffstat (limited to 'pkgs/tools/admin')
-rw-r--r--pkgs/tools/admin/pgadmin/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/admin/pgadmin/default.nix b/pkgs/tools/admin/pgadmin/default.nix
index 117f02a593bac..787736d7f46ed 100644
--- a/pkgs/tools/admin/pgadmin/default.nix
+++ b/pkgs/tools/admin/pgadmin/default.nix
@@ -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 = ''