@@ -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 ]