CVE-2017-13145
published 2017-08-23CVE-2017-13145: In ImageMagick before 6.9.8-8 and 7.x before 7.0.5-9, the ReadJP2Image function in coders/jp2.c does not properly validate the channel geometry, leading to a…
PriorityP427medium6.5CVSS 3.1
AVNACLPRNUIRSUCNINAH
EPSS
1.57%
72.8th percentile
In ImageMagick before 6.9.8-8 and 7.x before 7.0.5-9, the ReadJP2Image function in coders/jp2.c does not properly validate the channel geometry, leading to a crash.
Affected
63 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | imagemagick | < imagemagick 8:6.9.7.4+dfsg-13 (bookworm) | imagemagick 8:6.9.7.4+dfsg-13 (bookworm) |
| imagemagick | imagemagick | <= 6.9.8-7 | — |
| 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.16.5MEDIUMCVSS:3.1/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.5MEDIUM
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.
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 input validation in ReadJP2Image function in coders/jp2.c
vendor_redhat·2017-08-23·CVSS 6.5
CVE-2017-13145 [MEDIUM] CWE-20 ImageMagick: Improper input validation in ReadJP2Image function in coders/jp2.c
ImageMagick: Improper input validation in ReadJP2Image function in coders/jp2.c
In ImageMagick before 6.9.8-8 and 7.x before 7.0.5-9, the ReadJP2Image function in coders/jp2.c does not properly validate the channel geometry, leading to a crash.
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-13145: imagemagick - In ImageMagick before 6.9.8-8 and 7.x before 7.0.5-9, the ReadJP2Image function ...
vendor_debian·2017·CVSS 6.5
CVE-2017-13145 [MEDIUM] CVE-2017-13145: imagemagick - In ImageMagick before 6.9.8-8 and 7.x before 7.0.5-9, the ReadJP2Image function ...
In ImageMagick before 6.9.8-8 and 7.x before 7.0.5-9, the ReadJP2Image function in coders/jp2.c does not properly validate the channel geometry, leading to a crash.
Scope: local
bookworm: resolved (fixed in 8:6.9.7.4+dfsg-13)
bullseye: resolved (fixed in 8:6.9.7.4+dfsg-13)
forky: resolved (fixed in 8:6.9.7.4+dfsg-13)
sid: resolved (fixed in 8:6.9.7.4+dfsg-13)
trixie: resolved (fixed in 8:6.9.7.4+dfsg-13)
GHSA
GHSA-p8j4-jg7p-468p: In ImageMagick before 6
ghsa_unreviewed·2022-05-13
CVE-2017-13145 [MEDIUM] CWE-20 GHSA-p8j4-jg7p-468p: In ImageMagick before 6
In ImageMagick before 6.9.8-8 and 7.x before 7.0.5-9, the ReadJP2Image function in coders/jp2.c does not properly validate the channel geometry, leading to a crash.
OSV
CVE-2017-13145: In ImageMagick before 6
osv·2017-08-23·CVSS 6.5
CVE-2017-13145 [MEDIUM] CVE-2017-13145: In ImageMagick before 6
In ImageMagick before 6.9.8-8 and 7.x before 7.0.5-9, the ReadJP2Image function in coders/jp2.c does not properly validate the channel geometry, leading to a crash.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-13145 ImageMagick: Improper input validation in ReadJP2Image function in coders/jp2.c
bugzilla·2017-08-30·CVSS 6.5
CVE-2017-13145 [MEDIUM] CVE-2017-13145 ImageMagick: Improper input validation in ReadJP2Image function in coders/jp2.c
CVE-2017-13145 ImageMagick: Improper input validation in ReadJP2Image function in coders/jp2.c
In ImageMagick before 6.9.8-8 and 7.x before 7.0.5-9, the ReadJP2Image
function in coders/jp2.c does not properly validate the channel
geometry, leading to a crash.
Upstream bug:
https://github.com/ImageMagick/ImageMagick/issues/501
Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/b0c5222ce31e8f941fa02ff9c7a040fb2db30dbc
https://github.com/jsonn/pkgsrc/commit/da7e0698d368b931ea6c9af486467e4aa305f31a
Discussion:
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1486807]
---
Please fix your scripts.
ImageMagick 6.9.9-9 is in Fedora 25 and Fedora 26 updates-testing.
ImageMagick 7.0.6-9 is in Fedora 27 and Fedora Rawhide.
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=869830https://github.com/ImageMagick/ImageMagick/commit/acee073df34aa4d491bf5cb74d3a15fc80f0a3aahttps://github.com/ImageMagick/ImageMagick/commit/f13c6b54a879aaa771ec64b5a066b939e8f8e7f0https://github.com/ImageMagick/ImageMagick/issues/501https://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=869830https://github.com/ImageMagick/ImageMagick/commit/acee073df34aa4d491bf5cb74d3a15fc80f0a3aahttps://github.com/ImageMagick/ImageMagick/commit/f13c6b54a879aaa771ec64b5a066b939e8f8e7f0https://github.com/ImageMagick/ImageMagick/issues/501https://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