NULL pointer dereference in GraphicsMagick - CVE-2017-13065
Published: August 22, 2017 / Updated: August 3, 2020
Vulnerability identifier: #VU33199
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-13065
CWE-ID: CWE-476
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 a NULL pointer dereference error in the function SVGStartElement in coders/svg.c. A remote attacker can perform a denial of service (DoS) attack.
Affected software
GraphicsMagick
Arch Linux
Fedora
graphicsmagick (Alpine package)
GraphicsMagick
Arch Linux
Fedora
graphicsmagick (Alpine package)
GraphicsMagick
How to mitigate CVE-2017-13065
Update to version 1.3.27.
GraphicsMagick - update to 1.3.27
graphicsmagick (Alpine package) - addressed in versions 1.3.26-r5, 1.3.27-r0
GraphicsMagick - addressed in versions 1.3.32-1.fc29, 1.3.32-1.fc30, 1.3.34-1.el7, 1.3.34-1.el8
graphicsmagick (Alpine package) - addressed in versions 1.3.26-r5, 1.3.27-r0
GraphicsMagick - addressed in versions 1.3.32-1.fc29, 1.3.32-1.fc30, 1.3.34-1.el7, 1.3.34-1.el8
External References
- http://hg.code.sf.net/p/graphicsmagick/code/rev/54f48ab2d52a
- https://lists.debian.org/debian-lts-announce/2018/06/msg00009.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PF62B5PJA2JDUOCKJGUQO3SPL74BEYSV/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WHIKB4TP6KBJWT2UIPWL5MWMG5QXKGEJ/
- https://sourceforge.net/p/graphicsmagick/bugs/435/
- https://usn.ubuntu.com/4222-1/
- https://www.debian.org/security/2018/dsa-4321