Skip to content

Commit

Permalink
traefik: add patch for CVE-2021-27375
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Mar 24, 2021
1 parent cf439cc commit 3e38bab
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/servers/traefik/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub, go-bindata, nixosTests }:
{ stdenv, buildGoModule, fetchFromGitHub, go-bindata, nixosTests, fetchpatch }:

buildGoModule rec {
pname = "traefik";
Expand All @@ -13,6 +13,14 @@ buildGoModule rec {

vendorSha256 = "0kz7y64k07vlybzfjg6709fdy7krqlv1gkk01nvhs84sk8bnrcvn";

patches = [
(fetchpatch {
name = "CVE-2021-27375.patch";
url = "https://github.com/traefik/traefik/commit/bae28c5f5717ea3a80423f107fefe6948c14b7cd.patch";
sha256 = "0gbygblzc6l0rywznbl6in2h5mjk5d0x0aq6pqgag2vrjbyk9kfi";
})
];

doCheck = false;

subPackages = [ "cmd/traefik" ];
Expand Down

0 comments on commit 3e38bab

Please sign in to comment.