libblockdev: Fix CVE-2025-6019

(cherry picked from commit a108aa8548)
This commit is contained in:
Jan Tojnar
2025-06-18 09:17:50 +02:00
committed by Michael Daniels
parent 14d53cee08
commit f4eb07b512

View File

@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
autoreconfHook,
pkg-config,
gtk-doc,
@@ -41,6 +42,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-WCMedMkaMMhZbB3iJu3c+CTT3AvOjzOSYP45J+NQEDQ=";
};
patches = [
# CVE-2025-6019: https://www.openwall.com/lists/oss-security/2025/06/17/5
(fetchpatch {
url = "https://github.com/storaged-project/libblockdev/commit/4e35eb93e4d2672686789b9705623cc4f9f85d02.patch";
hash = "sha256-3pQxvbFX6jmT5LCaePoVfvPTNPoTPPhT0GcLaGkVVso=";
})
];
outputs = [
"out"
"dev"