diff options
| author | Robert Scott <code@humanleg.org.uk> | 2023-08-19 20:04:27 +0100 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2023-08-22 20:25:21 +0000 |
| commit | a348d05d075de14af58284b493cb78bb269ed890 (patch) | |
| tree | a657195e7984c6db05da5e432de6b569307a5bbe | |
| parent | Merge pull request #250431 from risicle/ris-openimageio-2.4.13.0-r23.05 (diff) | |
| download | nixpkgs-origin/backport-250234-to-release-23.05.tar.gz | |
sngrep: add patch for CVE-2023-36192origin/backport-250234-to-release-23.05
(cherry picked from commit 25fa8c87ba132365063d9234f5fbb84732432ec0)
| -rw-r--r-- | pkgs/applications/networking/sniffers/sngrep/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/networking/sniffers/sngrep/default.nix b/pkgs/applications/networking/sniffers/sngrep/default.nix index f105450034ed..9adb7117808f 100644 --- a/pkgs/applications/networking/sniffers/sngrep/default.nix +++ b/pkgs/applications/networking/sniffers/sngrep/default.nix @@ -3,6 +3,7 @@ , autoconf , automake , fetchFromGitHub +, fetchpatch , libpcap , ncurses , openssl @@ -20,6 +21,14 @@ stdenv.mkDerivation rec { sha256 = "sha256-gFba2wOU4GwpOZTo5A2QpBgnC6OgDJEeyaPGHbA+7tA="; }; + patches = [ + (fetchpatch { + name = "CVE-2023-36192.patch"; + url = "https://github.com/irontec/sngrep/commit/ad1daf15c8387bfbb48097c25197bf330d2d98fc.patch"; + hash = "sha256-g8fxvxi3d7jmZEKTbxqw29hJbm/ShsKKxstsOUGxTug="; + }) + ]; + nativeBuildInputs = [ autoconf automake |
