ntopng: apply patch for CVE-2026-86091 CVE-2026-86090

This commit is contained in:
sh0uv1
2026-09-05 20:16:05 +00:00
parent 0af3d1402d
commit 98df70349e

View File

@@ -24,6 +24,7 @@
which,
zeromq,
cmake,
fetchpatch,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -38,6 +39,15 @@ stdenv.mkDerivation (finalAttrs: {
fetchSubmodules = true;
};
patches = [
# Fix CVE-2026-86091 CVE-2026-86090
(fetchpatch {
name = "CVE-2026-86090-CVE-2026-86091.patch";
url = "https://github.com/ntop/ntopng/commit/7d830f31af367745431c5d92e2e82fc432f6bdd8.patch";
hash = "sha256-8N0q/Ekd5ni1jxZh8Jatipz+z57r1jqu/77o/oI/FuE=";
})
];
preConfigure = ''
substituteInPlace Makefile.in \
--replace "/bin/rm" "rm"