linux-pam: apply patch for CVE-2025-6020

This commit is contained in:
Leona Maroni
2025-06-19 16:30:20 +02:00
parent 4894ec50a8
commit 26c092bbc7
2 changed files with 1323 additions and 0 deletions
File diff suppressed because it is too large Load Diff
+8
View File
@@ -3,6 +3,7 @@
stdenv,
buildPackages,
fetchurl,
fetchpatch,
flex,
db4,
gettext,
@@ -24,6 +25,13 @@ stdenv.mkDerivation rec {
patches = [
./suid-wrapper-path.patch
# required for fixing CVE-2025-6020
(fetchpatch {
url = "https://github.com/linux-pam/linux-pam/commit/10b80543807e3fc5af5f8bcfd8bb6e219bb3cecc.patch";
hash = "sha256-VS3D3wUbDxDXRriIuEvvgeZixzDA58EfiLygfFeisGg=";
})
# Manually cherry-picked from 475bd60c552b98c7eddb3270b0b4196847c0072e
./CVE-2025-6020.patch
];
# Case-insensitivity workaround for https://github.com/linux-pam/linux-pam/issues/569