Out-of-bounds read in GraphicsMagick and Debian Linux - CVE-2017-17915
Published: December 27, 2017 / Updated: December 27, 2022
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to heap-based buffer over-read in ReadMNGImage in coders/png.c, related to accessing one byte before testing whether a limit has been reached. A remote attacker can perform a denial of service attack.
Affected software
Debian Linux
Amazon Linux AMI
Fedora
Ubuntu
graphicsmagick (Ubuntu package)
libgraphicsmagick-q16-3 (Ubuntu package)
libgraphicsmagick++-q16-12 (Ubuntu package)
GraphicsMagick
How to mitigate CVE-2017-17915
libgraphicsmagick-q16-3 (Ubuntu package) - update to 1.3.23-1ubuntu0.6
libgraphicsmagick++-q16-12 (Ubuntu package) - update to 1.3.23-1ubuntu0.6
GraphicsMagick - addressed in versions 1.3.28-1.el6, 1.3.28-1.el7, 1.3.28-1.fc26, 1.3.28-1.fc27
External References
- http://hg.graphicsmagick.org/hg/GraphicsMagick/rev/1721f1b7e67a
- https://lists.debian.org/debian-lts-announce/2018/01/msg00005.html
- https://lists.debian.org/debian-lts-announce/2018/06/msg00009.html
- https://sourceforge.net/p/graphicsmagick/bugs/535/
- https://usn.ubuntu.com/4266-1/
- https://www.debian.org/security/2018/dsa-4321