Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gnu: graphicsmagick: Fix CVE-2016-5118.
* gnu/packages/patches/graphicsmagick-CVE-2016-5118.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/imagemagick.scm (graphicsmagick): Use it.
- Loading branch information
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Fix CVE-2016-5118 (popen() shell vulnerability via filename). | ||
|
||
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5118 | ||
|
||
Upstream patch copied from the bug announcement: | ||
http://seclists.org/oss-sec/2016/q2/432 | ||
https://marc.info/?l=oss-security&m=146455222600609&w=2 | ||
|
||
diff -r 33200fc645f6 magick/blob.c | ||
--- a/magick/blob.c Sat Nov 07 14:49:16 2015 -0600 | ||
+++ b/magick/blob.c Sun May 29 14:12:57 2016 -0500 | ||
@@ -68,6 +68,7 @@ | ||
*/ | ||
#define DefaultBlobQuantum 65541 | ||
|
||
+#undef HAVE_POPEN | ||
|
||
/* | ||
Enum declarations. |