about summary refs log tree commit diff
path: root/pkgs/misc/ghostscript
diff options
context:
space:
mode:
authorTimothy <git@timothyklim.com>2021-09-11 11:11:19 +0700
committerTimothy <git@timothyklim.com>2021-09-11 11:11:19 +0700
commit79eed79c8ff39b1686cf42c351f8cdcdbe4a0688 (patch)
tree1c6d2e1db29d6ffd5f13e1b09d3cc59a92e3565e /pkgs/misc/ghostscript
parent693ca813d48e42bc2e133fbf3ae07eb7820646d5 (diff)
ghostscript: add patch for CVE-2021-3781
Diffstat (limited to 'pkgs/misc/ghostscript')
-rw-r--r--pkgs/misc/ghostscript/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/misc/ghostscript/default.nix b/pkgs/misc/ghostscript/default.nix
index 760ec2bc05348..e715acdfe62ef 100644
--- a/pkgs/misc/ghostscript/default.nix
+++ b/pkgs/misc/ghostscript/default.nix
@@ -45,6 +45,11 @@ stdenv.mkDerivation rec {
       url = "https://github.com/ArtifexSoftware/ghostpdl/commit/41ef9a0bc36b9db7115fbe9623f989bfb47bbade.patch";
       sha256 = "1qpc6q1fpxshqc0mqgg36kng47kgljk50bmr8p7wn21jgfkh7m8w";
     })
+    (fetchpatch {
+      url = "https://git.ghostscript.com/?p=ghostpdl.git;a=patch;h=a9bd3dec9fde";
+      name = "CVE-2021-3781.patch";
+      sha256 = "FvbH7cb3ZDCbNRz9DF0kDmLdF7OWNYk90wv44pimU58=";
+    })
     ./urw-font-files.patch
     ./doc-no-ref.diff
   ];