git.iko.soy/typeable/nixpkgs
on master help sign in
rpcbind: Patch for CVE-2017-8779
commitac7ec054f1694f3890e776195dc5c7c9501ae59f authoradisbladis <adis@blad.is> dateTue 28 Nov 2017, 02:12 (9 years ago) parentc0c503c
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 ]