mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 18:33:00 +00:00
nuclei: add patch for CVE-2024-40641
This commit is contained in:
parent
8031304124
commit
865e2ec619
@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -17,6 +18,14 @@ buildGoModule rec {
|
||||
|
||||
vendorHash = "sha256-DGNjDKjFZ0EJPOJxC7nTCCts8pisomfe4eru2WAHHow=";
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2024-40641.patch";
|
||||
url = "https://github.com/projectdiscovery/nuclei/commit/1c51a6bef6a5d9a5b9c4967e4984595ef4bb48cd.patch";
|
||||
hash = "sha256-5yB37XIw7jUU80jHUCTtNHEOEw01CPyhB37eBleIe34=";
|
||||
})
|
||||
];
|
||||
|
||||
subPackages = [ "cmd/nuclei/" ];
|
||||
|
||||
ldflags = [
|
||||
|
Loading…
Reference in New Issue
Block a user