mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-19 06:10:03 +00:00
ntopng: apply patch for CVE-2026-86091 CVE-2026-86090
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user