From d726e2d30198ee71d824732ecd666646151356ef Mon Sep 17 00:00:00 2001 From: Thomas Gerbet Date: Thu, 26 Sep 2024 23:51:12 +0200 Subject: [PATCH] cups-filters: apply patch for CVE-2024-47076 Advisory: https://github.com/OpenPrinting/libcupsfilters/security/advisories/GHSA-w63j-6g73-wmg5 --- pkgs/misc/cups/filters.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/misc/cups/filters.nix b/pkgs/misc/cups/filters.nix index 127910f97aac..b4a7b66c02e3 100644 --- a/pkgs/misc/cups/filters.nix +++ b/pkgs/misc/cups/filters.nix @@ -48,6 +48,11 @@ stdenv.mkDerivation rec { url = "https://github.com/OpenPrinting/cups-filters/commit/93e60d3df358c0ae6f3dba79e1c9684657683d89.patch"; hash = "sha256-KgWTYFr2uShL040azzE+KaNyBPy7Gs/hCnEgQmmPCys="; }) + (fetchpatch { + name = "CVE-2024-47076.patch"; + url = "https://github.com/OpenPrinting/libcupsfilters/commit/95576ec3d20c109332d14672a807353cdc551018.patch"; + hash = "sha256-MXWllrdWt8n7zqvumQNg34dBgWMwMTwf9lrD+ZZP8Wk="; + }) ]; nativeBuildInputs = [ pkg-config makeWrapper ];