git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #32119 from adisbladis/CVE-2017-8779

rpcbind: Patch for CVE-2017-8779

commit015e05149b3d73535120afff269188e4fbf75a77 authoradisbladis <adisbladis@gmail.com> dateTue 28 Nov 2017, 11:03 (9 years ago) parent7df6853ac7ec05
1 file changed+6−1
pkgs/servers/rpcbind/default.nix+6−1
pkgs/servers/rpcbind/default.nix+6−1
@@ -1,4 +1,4 @@
1−{ fetchurl, stdenv, pkgconfig, libnsl, libtirpc
1+{ fetchurl, stdenv, pkgconfig, libnsl, libtirpc, fetchpatch
22, useSystemd ? true, systemd }:
33
44stdenv.mkDerivation rec {
@@ -12,6 +12,11 @@ stdenv.mkDerivation rec {
1212
1313 patches = [
1414 ./sunrpc.patch
15+ (fetchpatch {
16+ name = "CVE-2017-8779.patch";
17+ url = "https://raw.githubusercontent.com/guidovranken/rpcbomb/e6da9e489aa8ad000b0ad5ac9abc5b4eefc3a769/rpcbind_patch.txt";
18+ sha256 = "0w231w8fxihgrn526np078j3vbj3ylvjvxjmfpjvqhga5zg821ab";
19+ })
1520 ];
1621
1722 buildInputs = [ libnsl libtirpc ]