summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Walther <walther@technowledgy.de>2025-08-09 17:28:58 +0000
committerGitHub <noreply@github.com>2025-08-09 17:28:58 +0000
commit672c659201b20180d8ece4344486b207797c0676 (patch)
tree62f63413916fa6ce2a7f7a3833890ccdd86eb19b
parent[Backport release-25.05] tuba: 0.9.2 -> 0.10.0 (#431902) (diff)
parentcorosync: apply patch for CVE-2025-30472 (diff)
downloadnixpkgs-672c659201b20180d8ece4344486b207797c0676.tar.gz
[Backport release-25.05] corosync: apply patch for CVE-2025-30472 (#431943)
-rw-r--r--pkgs/by-name/co/corosync/package.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/by-name/co/corosync/package.nix b/pkgs/by-name/co/corosync/package.nix
index 6225fa443c8e..d640734c7b51 100644
--- a/pkgs/by-name/co/corosync/package.nix
+++ b/pkgs/by-name/co/corosync/package.nix
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchurl,
+ fetchpatch2,
makeWrapper,
pkg-config,
kronosnet,
@@ -32,6 +33,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-IDNUu93uGpezxQoHbq6JxjX0Bt1nTMrvyUu5CSrNlTU=";
};
+ patches = [
+ (fetchpatch2 {
+ name = "CVE-2025-30472.patch";
+ url = "https://github.com/corosync/corosync/commit/7839990f9cdf34e55435ed90109e82709032466a.patch??full_index=1";
+ hash = "sha256-EgGTfOM9chjLnb1QWNGp6IQQKQGdetNkztdddXlN/uo=";
+ })
+ ];
+
nativeBuildInputs = [
makeWrapper
pkg-config