USN-90-1: Imagemagick vulnerability

3 March 2005

imagemagick vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 4.10

Software Description

Details

Tavis Ormandy discovered a format string vulnerability in ImageMagick’s file name handling. Specially crafted file names could cause a program using ImageMagick to crash, or possibly even cause execution of arbitrary code.

Since ImageMagick can be used in custom printing systems, this also might lead to privilege escalation (execute code with the printer spooler’s privileges). However, Ubuntu’s standard printing system does not use ImageMagick, thus there is no risk of privilege escalation in a standard installation.

ImageMagick is also commonly used by web frontends; if these accept image uploads with arbitrary file names, this could also lead to remote privilege escalation.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 4.10
imagemagick
libmagick6

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

References