Skip to content

Commit

Permalink
avahi: apply patch for CVE-2024-52616
Browse files Browse the repository at this point in the history
Fixes CVE-2024-52616 / GHSA-r9j3-vjjh-p8vm
  • Loading branch information
LeSuisse committed Dec 13, 2024
1 parent c61af72 commit a7e9d55
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/libraries/avahi/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
expat,
gettext,
glib,
autoreconfHook,
libiconv,
libevent,
nixosTests,
Expand Down Expand Up @@ -127,6 +128,12 @@ stdenv.mkDerivation rec {
"fuzz/fuzz-packet.c"
];
})
# https://github.com/avahi/avahi/pull/659 merged Nov 19
(fetchpatch {
name = "CVE-2024-52616.patch";
url = "https://github.com/avahi/avahi/commit/f8710bdc8b29ee1176fe3bfaeabebbda1b7a79f7.patch";
hash = "sha256-BUQOQ4evKLBzV5UV8xW8XL38qk1rg6MJ/vcT5NBckfA=";
})
];

depsBuildBuild = [
Expand All @@ -137,6 +144,7 @@ stdenv.mkDerivation rec {
pkg-config
gettext
glib
autoreconfHook
];

buildInputs =
Expand Down

0 comments on commit a7e9d55

Please sign in to comment.