ImageMagick up to 6.9.9-2/7.0.6-2 coders/mat.c DestroyImageInfo input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability classified as problematic was found in ImageMagick up to 6.9.9-2/7.0.6-2. This issue affects the function DestroyImageInfo of the file coders/mat.c. The manipulation results in input validation.
This vulnerability is cataloged as CVE-2017-13658. The attack may be launched remotely. There is no exploit available.
Upgrading the affected component is advised.
Details
A vulnerability classified as problematic has been found in ImageMagick up to 6.9.9-2/7.0.6-2 (Image Processing Software). Affected is the function DestroyImageInfo of the file coders/mat.c. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as 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. This is going to have an impact on availability. CVE summarizes:
In ImageMagick before 6.9.9-3 and 7.x before 7.0.6-3, there is a missing NULL check in the ReadMATImage function in coders/mat.c, leading to a denial of service (assertion failure and application exit) in the DestroyImageInfo function in MagickCore/image.c.
The bug was discovered 07/23/2017. The weakness was shared 08/24/2017 (Website). The advisory is available at bugs.debian.org. This vulnerability is traded as CVE-2017-13658 since 08/23/2017. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. 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 102889 (Debian DLA-1081-1 : imagemagick security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 170696 (SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2018:0130-1)).
Upgrading to version 6.9.9-3 or 7.0.6-3 eliminates this vulnerability. A possible mitigation has been published 1 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (102889). The entries VDB-104360, VDB-104389, VDB-104390 and VDB-104391 are related to this item. If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Name
Version
License
Website
- Product: https://www.imagemagick.org/
CPE 2.3
CPE 2.2
CVSSv4
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: Input validationCWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
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: 102889
Nessus Name: Debian DLA-1081-1 : imagemagick security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 865606
OpenVAS Name: Debian LTS Advisory ([SECURITY] [DLA 1081-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-3/7.0.6-3
Patch: github.com
Timeline
07/23/2017 🔍08/23/2017 🔍
08/24/2017 🔍
08/24/2017 🔍
08/25/2017 🔍
08/31/2017 🔍
09/01/2017 🔍
12/16/2022 🔍
Sources
Product: imagemagick.orgAdvisory: e5c063a1007506ba69e97a35effcdef944421c89
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-13658 (🔍)
GCVE (CVE): GCVE-0-2017-13658
GCVE (VulDB): GCVE-100-105714
See also: 🔍
Entry
Created: 08/25/2017 08:46Updated: 12/16/2022 14:46
Changes: 08/25/2017 08:46 (69), 11/10/2019 08:44 (9), 12/16/2022 14:44 (5), 12/16/2022 14:46 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.