Merge pull request #224191 from LeSuisse/cilium-cli-22.11-CVE-2023-28114

[22.11] cilium-cli: apply patch for CVE-2023-28114
This commit is contained in:
Robert Scott
2023-04-03 00:38:36 +01:00
committed by GitHub

View File

@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
{ lib, buildGoModule, fetchFromGitHub, fetchpatch, installShellFiles }:
buildGoModule rec {
pname = "cilium-cli";
@@ -11,6 +11,14 @@ buildGoModule rec {
sha256 = "sha256-libZapDj6Y/tGJEXAX3iZH2+pS64dg7IUsgTxT0Z6JA=";
};
patches = [
(fetchpatch {
name = "CVE-2023-28114.patch";
url = "https://github.com/cilium/cilium-cli/commit/fb1427025764e1eebc4a7710d902c4f22cae2610.patch";
hash = "sha256-WHWtv/GP4AhaZBx0WheTCBaZNdnzr8KNqwfKK2BtheY=";
})
];
vendorSha256 = null;
subPackages = [ "cmd/cilium" ];