mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
ssm-agent: apply patch for CVE-2022-29527
This commit is contained in:
parent
6b5cf5342e
commit
2145ef28e2
@ -3,6 +3,7 @@
|
||||
, buildGoPackage
|
||||
, makeWrapper
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, coreutils
|
||||
, nettools
|
||||
, dmidecode
|
||||
@ -47,6 +48,12 @@ buildGoPackage rec {
|
||||
# They used constants from another package that I couldn't figure
|
||||
# out how to resolve, so hardcoded the constants.
|
||||
./0002-version-gen-don-t-use-unnecessary-constants.patch
|
||||
|
||||
(fetchpatch {
|
||||
name = "CVE-2022-29527.patch";
|
||||
url = "https://github.com/aws/amazon-ssm-agent/commit/0fe8ae99b2ff25649c7b86d3bc05fc037400aca7.patch";
|
||||
sha256 = "sha256-5g14CxhsHLIgs1Vkfw8FCKEJ4AebNqZKf3ZzoAN/T9U=";
|
||||
})
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
|
Loading…
Reference in New Issue
Block a user