unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Requesting advice on ImageMagick popen() filename vulnerability (CVE-2016-5118)
@ 2016-05-31 17:02 Leo Famulari
  2016-05-31 17:40 ` Leo Famulari
  2016-05-31 21:12 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Leo Famulari @ 2016-05-31 17:02 UTC (permalink / raw)
  To: guix-devel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Requesting advice on ImageMagick popen() filename vulnerability (CVE-2016-5118)
  2016-05-31 17:02 Requesting advice on ImageMagick popen() filename vulnerability (CVE-2016-5118) Leo Famulari
@ 2016-05-31 17:40 ` Leo Famulari
  2016-05-31 21:12 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2016-05-31 17:40 UTC (permalink / raw)
  To: guix-devel

On Tue, May 31, 2016 at 01:02:05PM -0400, Leo Famulari wrote:
> 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.

Done, as e88eb07110a.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Requesting advice on ImageMagick popen() filename vulnerability (CVE-2016-5118)
  2016-05-31 17:02 Requesting advice on ImageMagick popen() filename vulnerability (CVE-2016-5118) Leo Famulari
  2016-05-31 17:40 ` Leo Famulari
@ 2016-05-31 21:12 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2016-05-31 21:12 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Leo Famulari <leo@famulari.name> skribis:

> 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.

It sounds reasonable.  Thank you!

Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-31 21:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-31 17:02 Requesting advice on ImageMagick popen() filename vulnerability (CVE-2016-5118) Leo Famulari
2016-05-31 17:40 ` Leo Famulari
2016-05-31 21:12 ` Ludovic Courtès

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).