ImageMagick up to 6.9.8-7/7.0.5-8 coders/jp2.c ReadJP2Image input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.3$0-$5k0.00

A vulnerability has been found in ImageMagick up to 6.9.8-7/7.0.5-8 (Image Processing Software) and classified as problematic. Affected by this vulnerability is the function ReadJP2Image of the file coders/jp2.c. The manipulation with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. As an impact it is known to affect availability. The summary by CVE is:

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.

The bug was discovered 05/28/2017. The weakness was released 08/23/2017 (Website). It is possible to read the advisory at bugs.debian.org. This vulnerability is known as CVE-2017-13145 since 08/23/2017. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 87 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 104515 (GLSA-201711-07 : ImageMagick: Multiple vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Gentoo Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176900 (Debian Security Update for imagemagick (DLA 1785-1)).

Upgrading to version 6.9.8-8 or 7.0.5-9 eliminates this vulnerability. A possible mitigation has been published 3 months after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (104515). Entries connected to this vulnerability are available at VDB-105650, VDB-105651, VDB-105652 and VDB-105653.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.4
VulDB Meta Temp Score: 5.3

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 104515
Nessus Name: GLSA-201711-07 : ImageMagick: Multiple vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 53380
OpenVAS Name: Debian Security Advisory DSA 4019-1 (imagemagick - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: ImageMagick 6.9.8-8/7.0.5-9
Patch: github.com

Timelineinfo

05/28/2017 🔍
08/23/2017 +87 days 🔍
08/23/2017 +0 days 🔍
08/23/2017 +0 days 🔍
08/24/2017 +1 days 🔍
11/11/2017 +79 days 🔍
11/13/2017 +2 days 🔍
08/19/2024 +2470 days 🔍

Sourcesinfo

Product: imagemagick.org

Advisory: acee073df34aa4d491bf5cb74d3a15fc80f0a3aa
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-13145 (🔍)
OVAL: 🔍
See also: 🔍

Entryinfo

Created: 08/24/2017 10:42 AM
Updated: 08/19/2024 01:34 AM
Changes: 08/24/2017 10:42 AM (68), 11/10/2019 06:19 AM (9), 12/16/2022 02:20 PM (5), 12/16/2022 02:25 PM (1), 08/19/2024 01:34 AM (17)
Complete: 🔍
Cache ID: 3:9E9:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!