mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
[25.05] librenms: apply patch for CVE-2025-54238 (#434705)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
unixtools,
|
||||
php82,
|
||||
python3,
|
||||
@@ -38,6 +39,15 @@ phpPackage.buildComposerProject2 rec {
|
||||
|
||||
vendorHash = "sha256-t/3wBSXJJHqbGR1iKF4zC2Ia99gXNlanabR/iPPlHqw=";
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
# https://github.com/advisories/GHSA-gq96-8w38-hhj2
|
||||
name = "CVE-2025-54138.patch";
|
||||
url = "https://github.com/librenms/librenms/commit/ec89714d929ef0cf2321957ed9198b0f18396c81.patch";
|
||||
hash = "sha256-UJy0AZXpvowvjSnJy7m4Z5JPoYWjydUg1R+jz/Pl1s0=";
|
||||
})
|
||||
];
|
||||
|
||||
php = phpPackage;
|
||||
|
||||
buildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user