From ae691eb12ae4fa0e8ba85c63e3a89dbcd879ae68 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 18 May 2019 12:30:30 +0100 Subject: [PATCH] libsass: add patch for CVE-2018-19827 --- pkgs/development/libraries/libsass/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/libraries/libsass/default.nix b/pkgs/development/libraries/libsass/default.nix index 54108e1a007bc..5b530d93cd401 100644 --- a/pkgs/development/libraries/libsass/default.nix +++ b/pkgs/development/libraries/libsass/default.nix @@ -9,6 +9,14 @@ stdenv.mkDerivation rec { sha256 = "0w6v1xa00jvfyk4b29ir7dfkhiq72anz015gg580bi7x3n7saz28"; }; + patches = [ + (fetchpatch { + name = "CVE-2018-19827.patch"; + url = "https://github.com/sass/libsass/commit/67a3f4ff9b790ed016197e6da4ef4e1d4c9da09f.patch"; + sha256 = "0ix12x9plmpgs3xda2fjdcykca687h16qfwqr57i5qphjr9vp33l"; + }) + ]; + preConfigure = '' export LIBSASS_VERSION=${version} '';