From f386db92db039d62a2c111b46953a15c143701e8 Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Tue, 7 Apr 2026 18:05:06 -0400 Subject: [PATCH] avahi: Add disabled patch for CVE-2024-52615 The CVE-2024-52615 fix introduces another security issue, CVE-2025-59529. Instead CVE-2024-52615 will be mitigated via system configuration. --- pkgs/by-name/av/avahi/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/av/avahi/package.nix b/pkgs/by-name/av/avahi/package.nix index 09b9a602af55..630a4f398315 100644 --- a/pkgs/by-name/av/avahi/package.nix +++ b/pkgs/by-name/av/avahi/package.nix @@ -140,6 +140,16 @@ stdenv.mkDerivation rec { url = "https://github.com/avahi/avahi/commit/366e3798bdbd6b7bf24e59379f4a9a51af575ce9.patch"; hash = "sha256-9AdhtzrimmcpMmeyiFcjmDfG5nqr/S8cxWTaM1mzCWA="; }) + # https://github.com/avahi/avahi/pull/662 merged 2025-06-19 + # NOTE: CVE-2024-52615 is mitigated by the default NixOS configuration. + # NOTE: CVE-2025-59529 is introduced by 4e2e1ea0908d7e6ad7f38ae04fdcdf2411f8b942. + /* + (fetchpatch { + name = "CVE-2024-52615.patch"; # AKA GHSA-x6vp-f33h-h32g + url = "https://github.com/avahi/avahi/commit/4e2e1ea0908d7e6ad7f38ae04fdcdf2411f8b942.patch"; + hash = "sha256-rW6jmKg9oH44rRZow0zE4z6lfTlD8wpFUC8DaI/gruA="; + }) + */ ]; depsBuildBuild = [