ImageMagick up to 7.0.6-5 image.c DestroyImage use after free
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in ImageMagick up to 7.0.6-5. This issue affects the function DestroyImage of the file image.c. Performing a manipulation results in use after free.
This vulnerability was named CVE-2017-12877. The attack may be initiated remotely. There is no available exploit.
It is advisable to upgrade the affected component.
Details
A vulnerability classified as problematic has been found in ImageMagick up to 7.0.6-5 (Image Processing Software). This affects the function DestroyImage of the file image.c. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on availability. The summary by CVE is:
Use-after-free vulnerability in the DestroyImage function in image.c in ImageMagick before 7.0.6-6 allows remote attackers to cause a denial of service via a crafted file.
The bug was discovered 08/10/2017. The weakness was presented 08/28/2017 (oss-sec). The advisory is shared at openwall.com. This vulnerability is uniquely identified as CVE-2017-12877 since 08/15/2017. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.
The vulnerability was handled as a non-public zero-day exploit for at least 18 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 176220 (Debian Security Update for imagemagick (DSA 4040-1)).
Upgrading to version 7.0.6-6 eliminates this vulnerability. A possible mitigation has been published 3 days after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (102889). See VDB-104360, VDB-104389, VDB-104390 and VDB-104391 for similar entries. If you want to get the best quality for vulnerability data then you always have to consider 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: Use after freeCWE: CWE-416 / CWE-119
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: 864768
OpenVAS Name: Debian Security Advisory DSA 4040-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 7.0.6-6
Patch: github.com
Timeline
08/10/2017 🔍08/15/2017 🔍
08/28/2017 🔍
08/28/2017 🔍
08/29/2017 🔍
08/31/2017 🔍
09/01/2017 🔍
12/16/2022 🔍
Sources
Product: imagemagick.orgAdvisory: 04178de2247e353fc095846784b9a10fefdbf890
Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-12877 (🔍)
GCVE (CVE): GCVE-0-2017-12877
GCVE (VulDB): GCVE-100-105813
OVAL: 🔍
See also: 🔍
Entry
Created: 08/29/2017 10:33Updated: 12/16/2022 19:27
Changes: 08/29/2017 10:33 (71), 11/10/2019 19:48 (8), 12/16/2022 19:20 (5), 12/16/2022 19:27 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.