Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200409-12] ImageMagick, imlib, imlib2: BMP decoding buffer overflows


Vulnerability Assessment Details

[GLSA-200409-12] ImageMagick, imlib, imlib2: BMP decoding buffer overflows

Vulnerability Assessment Summary
ImageMagick, imlib, imlib2: BMP decoding buffer overflows

Detailed Explanation for this Vulnerability Assessment
The remote host is affected by the vulnerability described in GLSA-200409-12
(ImageMagick, imlib, imlib2: BMP decoding buffer overflows)


Due to improper bounds checking, ImageMagick and imlib are vulnerable to a
buffer overflow when decoding runlength-encoded bitmaps. This bug can be
exploited using a specially-crafted BMP image and could potentially permit
remote code execution when this image is decoded by the user.

Impact

A specially-crafted runlength-encoded BMP could lead ImageMagick and imlib
to crash or potentially execute arbitrary code.

Workaround

There is no known workaround at this time.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0817
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0802
http://studio.imagemagick.org/pipermail/magick-developers/2004-August/002011.html
http://securitytracker.com/alerts/2004/Aug/1011104.html
http://securitytracker.com/alerts/2004/Aug/1011105.html


Solution:
All ImageMagick users should upgrade to the latest version:
# emerge sync
# emerge -pv ">=media-gfx/imagemagick-6.0.7.1"
# emerge ">=media-gfx/imagemagick-6.0.7.1"
All imlib users should upgrade to the latest version:
# emerge sync
# emerge -pv ">=media-libs/imlib-1.9.14-r2"
# emerge ">=media-libs/imlib-1.9.14-r2"
All imlib2 users should upgrade to the latest version:
# emerge sync
# emerge -pv ">=media-libs/imlib2-1.1.2"
# emerge ">=media-libs/imlib2-1.1.2"


Network Security Threat Level: Medium


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors

Microsoft Surface Laptop (Intel Core i5, 8GB RAM, 256GB) - Platinum
$0.95
Microsoft Surface Laptop (Intel Core i5, 8GB RAM, 256GB) - Platinum pictureApple MacBook Pro Retina Core i5-5257U Dual-Core 2.7GHz 8GB 256GB SSD 13.3 LED N
$1137.94
Apple MacBook Pro Retina Core i5-5257U Dual-Core 2.7GHz 8GB 256GB SSD 13.3 LED N pictureApple Macbook Air 13.3'' Core i7 2.2ghz 8gb Ram 256gb SSD 2015 Must See WSM1651
$847.99
Apple Macbook Air 13.3'' Core i7 2.2ghz 8gb Ram 256gb SSD 2015 Must See WSM1651 pictureDell XPS 8920 Desktop Intel Core i7-7700 3.6GHZ 8GB DDR4 RAM 1TB HDD Windows 10
$699.99
Dell XPS 8920 Desktop Intel Core i7-7700 3.6GHZ 8GB DDR4 RAM 1TB HDD Windows 10 picture


Discussions

No Discussions have been posted on this vulnerability.