Skip to content

Commit 911d8e7

Browse files
committedJul 13, 2017
nginx: add patch to fix CVE-2017-7529
1 parent 849b5a5 commit 911d8e7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎pkgs/servers/http/nginx/generic.nix

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{ stdenv, fetchurl, fetchFromGitHub, openssl, zlib, pcre, libxml2, libxslt, expat
2-
, gd, geoip
2+
, gd, geoip, fetchpatch
33
, withStream ? false
44
, modules ? []
55
, hardening ? true
@@ -16,6 +16,13 @@ stdenv.mkDerivation {
1616
inherit sha256;
1717
};
1818

19+
patches = [
20+
(fetchpatch {
21+
# CVE-2017-7529
22+
url = "http://hg.nginx.org/nginx/raw-rev/1adc6b0d5eaa";
23+
sha256 = "1iyxk2l2xg2wx2pzqsgyy3baik0b0g275j80hdxa3c6i06vcs4c3";
24+
})
25+
];
1926

2027
buildInputs =
2128
[ openssl zlib pcre libxml2 libxslt gd geoip ]

0 commit comments

Comments
 (0)
Please sign in to comment.