From f064a2da321db418a2dc7dbdee7b5b66f17f5048 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 (cherry picked from commit ad7439fbd1aa06fbf24229be5d3de62330e38d4b) --- 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 2225df308ac1..ddc27e787a4d 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 , enableTNC ? false }: @@ -19,6 +19,10 @@ stdenv.mkDerivation rec { ++ stdenv.lib.optionals enableTNC [ curl trousers sqlite libxml2 ]; 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