ImageMagick up to 6.9.9-0/7.0.6-1 coders/png.c ReadOnePNGImage memory corruption
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
5.3 | $0-$5k | 0.00 |
A vulnerability was found in ImageMagick up to 6.9.9-0/7.0.6-1 (Image Processing Software). It has been rated as problematic. Affected by this issue is the function ReadOnePNGImage
of the file coders/png.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is availability. CVE summarizes:
In ImageMagick before 6.9.9-1 and 7.x before 7.0.6-2, the ReadOnePNGImage function in coders/png.c allows remote attackers to cause a denial of service (application hang in LockSemaphoreInfo) via a PNG file with a width equal to MAGICK_WIDTH_LIMIT.
The bug was discovered 07/22/2017. The weakness was released 08/23/2017 (Website). The advisory is available at bugs.debian.org. This vulnerability is handled as CVE-2017-13140 since 08/23/2017. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 32 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 176198 (Debian Security Update for imagemagick (DSA 4019-1)).
Upgrading to version 6.9.9-1 or 7.0.6-2 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-104398, VDB-104400, VDB-104519 and VDB-104831.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB 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: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: ImageMagick 6.9.9-1/7.0.6-2
Timeline
07/22/2017 🔍08/23/2017 🔍
08/23/2017 🔍
08/23/2017 🔍
08/24/2017 🔍
11/11/2017 🔍
11/13/2017 🔍
12/16/2022 🔍
Sources
Product: imagemagick.orgAdvisory: 596
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-13140 (🔍)
OVAL: 🔍
See also: 🔍
Entry
Created: 08/24/2017 10:40 AMUpdated: 12/16/2022 02:02 PM
Changes: 08/24/2017 10:40 AM (70), 11/09/2019 08:44 PM (9), 12/16/2022 02:02 PM (4)
Complete: 🔍
Cache ID: 18:CEC:40
No comments yet. Languages: en.
Please log in to comment.