CVE-2017-13142
published 2017-08-23CVE-2017-13142: In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG file could trigger a crash because there was an insufficient check for short files.
PriorityP430medium6.5CVSS 3.0
AVNACLPRNUIRSUCNINAH
EPSS
1.81%
76.4th percentile
In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG file could trigger a crash because there was an insufficient check for short files.
Affected
62 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | imagemagick | < imagemagick 8:6.9.7.4+dfsg-15 (bookworm) | imagemagick 8:6.9.7.4+dfsg-15 (bookworm) |
| imagemagick | imagemagick | <= 6.9.9-0 | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
CVSS provenance
nvdv3.06.5MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-m5qm-c3vm-j6hm: In ImageMagick before 6
ghsa_unreviewed·2022-05-14
CVE-2017-13142 [MEDIUM] CWE-754 GHSA-m5qm-c3vm-j6hm: In ImageMagick before 6
In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG file could trigger a crash because there was an insufficient check for short files.
OSV
CVE-2017-13142: In ImageMagick before 6
osv·2017-08-23·CVSS 6.5
CVE-2017-13142 [MEDIUM] CVE-2017-13142: In ImageMagick before 6
In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG file could trigger a crash because there was an insufficient check for short files.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2018-06-12
CVE-2017-1000445 ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
It was discovered that ImageMagick incorrectly handled certain malformed
image files. If a user or automated system using ImageMagick were tricked
into opening a specially crafted image, an attacker could exploit this to
cause a denial of service or possibly execute code with the privileges of
the user invoking the program.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ImageMagick: Improper validation of short files in coders/png.c
vendor_redhat·2017-08-23·CVSS 6.5
CVE-2017-13142 [MEDIUM] CWE-20 ImageMagick: Improper validation of short files in coders/png.c
ImageMagick: Improper validation of short files in coders/png.c
In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG file could trigger a crash because there was an insufficient check for short files.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 7) - Will not fix
Package: ImageMagick (Red Hat OpenShift Enterprise 2) - Will not fix
Debian
CVE-2017-13142: imagemagick - In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG file could t...
vendor_debian·2017·CVSS 6.5
CVE-2017-13142 [MEDIUM] CVE-2017-13142: imagemagick - In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG file could t...
In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG file could trigger a crash because there was an insufficient check for short files.
Scope: local
bookworm: resolved (fixed in 8:6.9.7.4+dfsg-15)
bullseye: resolved (fixed in 8:6.9.7.4+dfsg-15)
forky: resolved (fixed in 8:6.9.7.4+dfsg-15)
sid: resolved (fixed in 8:6.9.7.4+dfsg-15)
trixie: resolved (fixed in 8:6.9.7.4+dfsg-15)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-13142 ImageMagick: Improper validation of short files in coders/png.c
bugzilla·2017-08-30·CVSS 6.5
CVE-2017-13142 [MEDIUM] CVE-2017-13142 ImageMagick: Improper validation of short files in coders/png.c
CVE-2017-13142 ImageMagick: Improper validation of short files in coders/png.c
In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, a crafted PNG
file could trigger a crash because there was an insufficient check for
short files.
Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/aa84944b405acebbeefe871d0f64969b9e9f31ac
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1486807]
Bugzilla
CVE-2017-13139 CVE-2017-13140 CVE-2017-13141 CVE-2017-13142 CVE-2017-13143 CVE-2017-13144 CVE-2017-13145 CVE-2017-13146 ImageMagick: various flaws [fedora-all]
bugzilla·2017-08-30·CVSS 9.8
CVE-2017-13139 [CRITICAL] CVE-2017-13139 CVE-2017-13140 CVE-2017-13141 CVE-2017-13142 CVE-2017-13143 CVE-2017-13144 CVE-2017-13145 CVE-2017-13146 ImageMagick: various flaws [fedora-all]
CVE-2017-13139 CVE-2017-13140 CVE-2017-13141 CVE-2017-13142 CVE-2017-13143 CVE-2017-13144 CVE-2017-13145 CVE-2017-13146 ImageMagick: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog an
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870105https://github.com/ImageMagick/ImageMagick/commit/46e3aabbf8d59a1bdebdbb65acb9b9e0484577d3https://github.com/ImageMagick/ImageMagick/commit/aa84944b405acebbeefe871d0f64969b9e9f31achttps://lists.debian.org/debian-lts-announce/2019/05/msg00015.htmlhttps://security.gentoo.org/glsa/201711-07https://usn.ubuntu.com/3681-1/https://www.debian.org/security/2017/dsa-4019https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=870105https://github.com/ImageMagick/ImageMagick/commit/46e3aabbf8d59a1bdebdbb65acb9b9e0484577d3https://github.com/ImageMagick/ImageMagick/commit/aa84944b405acebbeefe871d0f64969b9e9f31achttps://lists.debian.org/debian-lts-announce/2019/05/msg00015.htmlhttps://security.gentoo.org/glsa/201711-07https://usn.ubuntu.com/3681-1/https://www.debian.org/security/2017/dsa-4019
2017-08-23
Published