From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: Requesting advice on ImageMagick popen() filename vulnerability (CVE-2016-5118)
Date: Tue, 31 May 2016 13:02:05 -0400 [thread overview]
Message-ID: <20160531170205.GA355@jasmine> (raw)
CVE-2016-5118 is a bug in GraphicsMagick and ImageMagick whereby
one can get shell execution by passing the libraries a file whose name
begins with the pipe character, |.
http://seclists.org/oss-sec/2016/q2/433
We (crudely) fixed this for GraphicsMagick in d8862778c1b.
Now I see that ImageMagick has suggested a similar interim fix on their
forums:
https://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=29803#p134039
Also, they have begun committing mitigations to their Git repository:
http://git.imagemagick.org/repos/ImageMagick/commit/ca430ff77794980941ff0fa0d2fc463b50c2c6b7
I plan to fix this in our package using the "crude" option until
ImageMagick releases a new version, which seems to be happening every
few days.
Please let me know if you object to this solution.
next reply other threads:[~2016-05-31 17:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-31 17:02 Leo Famulari [this message]
2016-05-31 17:40 ` Requesting advice on ImageMagick popen() filename vulnerability (CVE-2016-5118) Leo Famulari
2016-05-31 21:12 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160531170205.GA355@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).