Out-of-bounds read in GraphicsMagick - CVE-2017-17782

 

Out-of-bounds read in GraphicsMagick - CVE-2017-17782

Published: December 20, 2017 / Updated: August 3, 2020


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

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 ReadOneJNGImage in coders/png.c, related to oFFs chunk allocation. A remote attacker can perform a denial of service attack.


Affected software

GraphicsMagick
Amazon Linux AMI
Fedora
graphicsmagick (Alpine package)
GraphicsMagick

How to mitigate CVE-2017-17782

Update to version 1.3.28.

GraphicsMagick - update to 1.3.28
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

Related Security Bulletins