CVE-2017-12877
Description
Use-after-free vulnerability in the DestroyImage function in image.c in ImageMagick before 7.0.6-6 allows remote attackers to cause a denial of service via a crafted file.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2017-12877
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2017-12877.html
Vendor advisory: cve@mitre.org — https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890
Vendor advisory: cve@mitre.org — https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/
Vendor advisory: cve@mitre.org — http://www.openwall.com/lists/oss-security/2017/08/16/2
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 8:6.9.9.34+dfsg-3 |
| debian | bullseye | fixed | 8:6.9.9.34+dfsg-3 |
| debian | forky | fixed | 8:6.9.9.34+dfsg-3 |
| debian | sid | fixed | 8:6.9.9.34+dfsg-3 |
| debian | trixie | fixed | 8:6.9.9.34+dfsg-3 |
| debian | 8.0 | affected | |
| debian | 9.0 | affected | |
| ubuntu | 14.04 | affected | |
| ubuntu | 16.04 | affected | |
| ubuntu | 17.10 | affected | |
| ubuntu | 18.04 | affected | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| imagemagick | imagemagick | {"endExcluding":"6.9.9-6"} | 6.9.9-6 |
References
- http://www.openwall.com/lists/oss-security/2017/08/16/2
- https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/
- https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890
- https://security.gentoo.org/glsa/201711-07
- https://usn.ubuntu.com/3681-1/
- https://www.debian.org/security/2017/dsa-4040
- https://www.debian.org/security/2017/dsa-4074
- https://www.suse.com/security/cve/CVE-2017-12877.html
- https://security-tracker.debian.org/tracker/CVE-2017-12877
CWEs
CWE-416
Verify integrity in audit chain (admin only). AS-IS.