Skip to content

Commit

Permalink
[24.05] unbound: apply patch for CVE-2024-8508 (#347156)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianhjr authored Oct 13, 2024
2 parents ca1dcd3 + 29a87b9 commit 0eef0cf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/by-name/un/unbound/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchurl
, fetchpatch
, openssl
, nettle
, expat
Expand Down Expand Up @@ -57,6 +58,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-VrTO7TNjlSIAD9lndVdt34eCuzYXYQcV1/Hnd8XsHb8=";
};

patches = [
(fetchpatch {
name = "CVE-2024-8508.patch";
url = "https://nlnetlabs.nl/downloads/unbound/patch_CVE-2024-8508.diff";
hash = "sha256-u9een9NSm0WgDYhCIQjLDT743Smm0df7xBXnpPBvhJs=";
})
];

outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB

nativeBuildInputs =
Expand Down

0 comments on commit 0eef0cf

Please sign in to comment.