Skip to content

Commit

Permalink
Merge pull request #124433 from mweinelt/20.09/nginx
Browse files Browse the repository at this point in the history
[20.09] nginx: Fix off-by-one in DNS resolver heap write
  • Loading branch information
andir authored May 25, 2021
2 parents 1d7bb8d + 039c2ab commit 76ed24c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/servers/http/nginx/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,14 @@ stdenv.mkDerivation {
'';
})
./nix-skip-check-logs-path.patch
(fetchpatch {
# http://mailman.nginx.org/pipermail/nginx-announce/2021/000300.html
# https://www.openwall.com/lists/oss-security/2021/05/25/5
name = "CVE-2021-23017.patch";
url = "https://nginx.org/download/patch.2021.resolver.txt";
sha256 = "1npdjifgqxkd57iqhf96jiq4lw83nxpb1dk4h5iniawbx4s2ddpc";
extraPrefix = "";
})
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
(fetchpatch {
url = "https://raw.githubusercontent.com/openwrt/packages/master/net/nginx/patches/102-sizeof_test_fix.patch";
Expand Down

0 comments on commit 76ed24c

Please # to comment.