CVE-2017-9098 ImageMagick before 7.0.5-2 and GraphicsMagick before 1.3.24 use uninitialized memory in the RLE decoder, allowing an attacker to leak sensitive information from process memory space, as demonstrated b...
HighCVSS 7.5
EPSS 3.6%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
ImageMagick before 7.0.5-2 and GraphicsMagick before 1.3.24 use uninitialized memory in the RLE decoder, allowing an attacker to leak sensitive information from process memory space, as demonstrated by remote attacks against ImageMagick code in a long-running server process that converts image data on behalf of multiple users. This is caused by a missing initialization step in the ReadRLEImage function in coders/rle.c.
Upgrade path
11 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/graphicsmagick(Debian 12) | < 1.3.24-1 | 1.3.24-1 | Fixed |
| debian/graphicsmagick(Debian 13) | < 1.3.24-1 | 1.3.24-1 | Fixed |
| debian/graphicsmagick(Debian 14) | < 1.3.24-1 | 1.3.24-1 | Fixed |
| debian/imagemagick(Debian 12) | < 8:6.9.7.4+dfsg-9 | 8:6.9.7.4+dfsg-9 | Fixed |
| debian/imagemagick(Debian 13) | < 8:6.9.7.4+dfsg-9 | 8:6.9.7.4+dfsg-9 | Fixed |
| debian/imagemagick(Debian 14) | < 8:6.9.7.4+dfsg-9 | 8:6.9.7.4+dfsg-9 | Fixed |
| graphicsmagick | < 1.3.24 | 1.3.24 | Fixed |
| ImageMagick | < 6.9.8-1; >= 7.0.0-0, < 7.0.5-2 | 6.9.8-1, 7.0.5-2 | Fixed |
| ubuntu/imagemagick(Ubuntu 14.04) | < 8:6.7.7.10-6ubuntu3.7; = 8:6.7.7.10-5ubuntu3; = 8:6.7.7.10-5ubuntu4; = 8:6.7.7.10-6ubuntu1 +8 more | 8:6.7.7.10-6ubuntu3.7 | Fixed |
| ubuntu/imagemagick(Ubuntu 16.04) | < 8:6.8.9.9-7ubuntu5.7; = 8:6.8.9.9-5ubuntu2; = 8:6.8.9.9-6; = 8:6.8.9.9-6build1 +12 more | 8:6.8.9.9-7ubuntu5.7 | Fixed |
| debian linux | = 8.0; = 9.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/graphicsmagick(Debian:12) | < 1.3.24-1 | 1.3.24-1 |
| debian/graphicsmagick(Debian:13) | < 1.3.24-1 | 1.3.24-1 |
| debian/graphicsmagick(Debian:14) | < 1.3.24-1 | 1.3.24-1 |
| debian/imagemagick(Debian:12) | < 8:6.9.7.4+dfsg-9 | 8:6.9.7.4+dfsg-9 |
| debian/imagemagick(Debian:13) | < 8:6.9.7.4+dfsg-9 | 8:6.9.7.4+dfsg-9 |
| debian/imagemagick(Debian:14) | < 8:6.9.7.4+dfsg-9 | 8:6.9.7.4+dfsg-9 |
| ImageMagick | < 6.9.8-1 | 6.9.8-1 |
| ImageMagick | >= 7.0.0-0, < 7.0.5-2 | 7.0.5-2 |
| graphicsmagick | < 1.3.24 | 1.3.24 |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| ubuntu/imagemagick(Ubuntu:14.04) | < 8:6.7.7.10-6ubuntu3.7 | 8:6.7.7.10-6ubuntu3.7 |
| ubuntu/imagemagick(Ubuntu:14.04) | = 8:6.7.7.10-5ubuntu3 | No fix listed |
| ubuntu/imagemagick(Ubuntu:14.04) | = 8:6.7.7.10-5ubuntu4 | No fix listed |
| ubuntu/imagemagick(Ubuntu:14.04) | = 8:6.7.7.10-6ubuntu1 | No fix listed |
| ubuntu/imagemagick(Ubuntu:14.04) | = 8:6.7.7.10-6ubuntu2 | No fix listed |
| ubuntu/imagemagick(Ubuntu:14.04) | = 8:6.7.7.10-6ubuntu3 | No fix listed |
| ubuntu/imagemagick(Ubuntu:14.04) | = 8:6.7.7.10-6ubuntu3.1 | No fix listed |
| ubuntu/imagemagick(Ubuntu:14.04) | = 8:6.7.7.10-6ubuntu3.2 | No fix listed |
| ubuntu/imagemagick(Ubuntu:14.04) | = 8:6.7.7.10-6ubuntu3.3 | No fix listed |
| ubuntu/imagemagick(Ubuntu:14.04) | = 8:6.7.7.10-6ubuntu3.4 | No fix listed |
| ubuntu/imagemagick(Ubuntu:14.04) | = 8:6.7.7.10-6ubuntu3.5 | No fix listed |
| ubuntu/imagemagick(Ubuntu:14.04) | = 8:6.7.7.10-6ubuntu3.6 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | < 8:6.8.9.9-7ubuntu5.7 | 8:6.8.9.9-7ubuntu5.7 |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-5ubuntu2 | No fix listed |
Show 14 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-6 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-6build1 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7ubuntu1 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7ubuntu2 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7ubuntu3 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7ubuntu4 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7ubuntu5 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7ubuntu5.1 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7ubuntu5.2 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7ubuntu5.3 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7ubuntu5.4 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7ubuntu5.5 | No fix listed |
| ubuntu/imagemagick(Ubuntu:16.04) | = 8:6.8.9.9-7ubuntu5.6 | No fix listed |
References
- Debian Security Tracker CVE-2017-9098 vendor-advisory
- hg.code.sf.net patch third-party-advisory
- DSA-3863 third-party-advisory vendor-advisory
- 98593 third-party-advisory vdb-entry
- github.com patch third-party-advisory
- [debian-lts-announce] 20180803 [SECURITY] [DLA 1456-1] graphicsmagick security update mailing-list third-party-advisory
- scarybeastsecurity.blogspot.com exploit issue-tracking technical-description third-party-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking