Use After Free Affecting imagemagick package, versions <8:6.9.7.4+dfsg-11+deb9u4
Snyk CVSS
Attack Complexity
Low
User Interaction
Required
Availability
High
Threat Intelligence
EPSS
4.05% (93rd
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-IMAGEMAGICK-402108
- published 28 Aug 2017
- disclosed 28 Aug 2017
Introduced: 28 Aug 2017
CVE-2017-12877 Open this link in a new tabHow to fix?
Upgrade Debian:9
imagemagick
to version 8:6.9.7.4+dfsg-11+deb9u4 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream imagemagick
package and not the imagemagick
package as distributed by Debian
.
See How to fix?
for Debian:9
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2017-12877
- https://www.debian.org/security/2017/dsa-4040
- https://www.debian.org/security/2017/dsa-4074
- https://security.gentoo.org/glsa/201711-07
- https://github.com/ImageMagick/ImageMagick/commit/04178de2247e353fc095846784b9a10fefdbf890
- https://blogs.gentoo.org/ago/2017/08/10/imagemagick-use-after-free-in-destroyimage-image-c/
- http://www.openwall.com/lists/oss-security/2017/08/16/2
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2017-12877
- https://usn.ubuntu.com/3681-1/