From 39e8db7849ceb14e4d234436abb760dd7f3a8cb7 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 11 Mar 2017 08:18:57 +0100 Subject: [PATCH] wget: add patch for CVE-2017-6508 --- pkgs/tools/networking/wget/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/wget/default.nix b/pkgs/tools/networking/wget/default.nix index f024c637c341..1a260f910e20 100644 --- a/pkgs/tools/networking/wget/default.nix +++ b/pkgs/tools/networking/wget/default.nix @@ -12,7 +12,14 @@ stdenv.mkDerivation rec { sha256 = "1ljcfhbkdsd0zjfm520rbl1ai62fc34i7c45sfj244l8f6b0p58c"; }; - patches = [ ./remove-runtime-dep-on-openssl-headers.patch ]; + patches = [ + ./remove-runtime-dep-on-openssl-headers.patch + (fetchurl { + name = "CVE-2017-6508"; + url = "http://git.savannah.gnu.org/cgit/wget.git/patch/?id=4d729e322fae359a1aefaafec1144764a54e8ad4"; + sha256 = "14r0c5y3w3gavxp2d9yq8xji82izi5sx0sjv6jpmk6zp6cnr7cjf"; + }) + ]; preConfigure = '' patchShebangs doc