Information disclosure in GraphicsMagick - CVE-2017-15277

 

Information disclosure in GraphicsMagick - CVE-2017-15277

Published: October 12, 2017 / Updated: August 3, 2020


Vulnerability identifier: #VU33205
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-15277
CWE-ID: CWE-200
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

ReadGIFImage in coders/gif.c in ImageMagick 7.0.6-1 and GraphicsMagick 1.3.26 leaves the palette uninitialized when processing a GIF file that has neither a global nor local palette. If the affected product is used as a library loaded into a process that operates on interesting data, this data sometimes can be leaked via the uninitialized palette.


Affected software

GraphicsMagick
Debian Linux
SUSE Linux
Ubuntu
Opensuse
graphicsmagick (Alpine package)
graphicsmagick (Debian package)
graphicsmagick (Ubuntu package)
libgraphicsmagick-q16-3 (Ubuntu package)
libgraphicsmagick++-q16-12 (Ubuntu package)
imagemagick (Debian package)

How to mitigate CVE-2017-15277

Install update from vendor's website.

GraphicsMagick - update to 1.3.27
graphicsmagick (Debian package) - update to 1.3.16-1.1+deb7u11
graphicsmagick (Ubuntu package) - update to 1.3.23-1ubuntu0.4
libgraphicsmagick-q16-3 (Ubuntu package) - update to 1.3.23-1ubuntu0.4
libgraphicsmagick++-q16-12 (Ubuntu package) - update to 1.3.23-1ubuntu0.4
imagemagick (Debian package) - update to 8:6.7.7.10-5+deb7u18

External References

Related Security Bulletins