CVE-2017-14165
Description
The ReadSUNImage function in coders/sun.c in GraphicsMagick 1.3.26 has an issue where memory allocation is excessive because it depends only on a length field in a header. This may lead to remote denial of service in the MagickMalloc function in magick/memory.c.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-14165
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-14165.html
Vendor advisory: cve@mitre.org — https://blogs.gentoo.org/ago/2017/09/06/graphicsmagick-memory-allocation-failure-in-magickmalloc-memory-c-2/
Vendor advisory: cve@mitre.org — http://hg.code.sf.net/p/graphicsmagick/code/rev/493da54370aa
Vendor advisory: arch — https://security.archlinux.org/ASA-201801-7
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 1.3.27-1 | |
| sles | affected | | |
| debian | bookworm | fixed | 1.3.26-9 |
| debian | bullseye | fixed | 1.3.26-9 |
| debian | forky | fixed | 1.3.26-9 |
| debian | sid | fixed | 1.3.26-9 |
| debian | trixie | fixed | 1.3.26-9 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| graphicsmagick | graphicsmagick | 1.3.26 | |
References
- https://security.archlinux.org/ASA-201801-7
- http://hg.code.sf.net/p/graphicsmagick/code/rev/493da54370aa
- http://www.securityfocus.com/bid/100678
- https://blogs.gentoo.org/ago/2017/09/06/graphicsmagick-memory-allocation-failure-in-magickmalloc-memory-c-2/
- https://usn.ubuntu.com/4232-1/
- https://www.suse.com/security/cve/CVE-2017-14165.html
- https://security-tracker.debian.org/tracker/CVE-2017-14165
CWEs
CWE-119
Verify integrity in audit chain (admin only). AS-IS.