From ad7439fbd1aa06fbf24229be5d3de62330e38d4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 25 Aug 2017 22:00:29 +0100 Subject: [PATCH] strongswan: add patch for CVE-2017-11185 --- pkgs/tools/networking/strongswan/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/networking/strongswan/default.nix b/pkgs/tools/networking/strongswan/default.nix index 2c0352152d55..4d7bc7b3d0db 100644 --- a/pkgs/tools/networking/strongswan/default.nix +++ b/pkgs/tools/networking/strongswan/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, gmp, pkgconfig, python, autoreconfHook +{ stdenv, fetchurl, fetchpatch, gmp, pkgconfig, python, autoreconfHook , curl, trousers, sqlite, iptables, libxml2, openresolv , ldns, unbound, pcsclite, openssl, systemd, pam , enableTNC ? false }: @@ -21,6 +21,10 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optionals stdenv.isLinux [ systemd.dev pam ]; patches = [ + (fetchpatch { + url = "https://download.strongswan.org/security/CVE-2017-11185/strongswan-4.4.0-5.5.3_gmp_mpz_export.patch"; + sha256 = "1vqf077dq71wai7ma3bpzv55i76b48gp2cf6507chgy4wj04gi73"; + }) ./ext_auth-path.patch ./firewall_defaults.patch ./updown-path.patch