ImageMagick 7.0.7 magick/opencl.c GetOpenCLCachedFilesDirectory null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as problematic, has been found in ImageMagick 7.0.7. Affected by this issue is the function GetOpenCLCachedFilesDirectory of the file magick/opencl.c. Performing a manipulation results in null pointer dereference.
This vulnerability is identified as CVE-2017-18209. The attack can be initiated remotely. There is not any exploit available.
It is advisable to upgrade the affected component.
Details
A vulnerability, which was classified as problematic, was found in ImageMagick 7.0.7 (Image Processing Software). This affects the function GetOpenCLCachedFilesDirectory of the file magick/opencl.c. The manipulation with an unknown input leads to a null pointer dereference vulnerability. CWE is classifying the issue as CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. This is going to have an impact on availability. The summary by CVE is:
In the GetOpenCLCachedFilesDirectory function in magick/opencl.c in ImageMagick 7.0.7, a NULL pointer dereference vulnerability occurs because a memory allocation result is not checked, related to GetOpenCLCacheDirectory.
The bug was discovered 09/30/2017. The weakness was released 03/01/2018 (Website). The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2017-18209 since 03/01/2018. 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 152 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 108935 (openSUSE Security Update : ImageMagick (openSUSE-2018-343)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 171004 (SUSE Enterprise Linux Security Update for ImageMagick (SUSE-SU-2018:0857-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 2 months after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (108935) and SecurityFocus (BID 103218†). Entries connected to this vulnerability are available at VDB-105973, VDB-106416, VDB-107134 and VDB-113786. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
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: 6.6VulDB Meta Temp Score: 6.4
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 8.8
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: Null pointer dereferenceCWE: CWE-476 / CWE-404
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: 108935
Nessus Name: openSUSE Security Update : ImageMagick (openSUSE-2018-343)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
09/30/2017 🔍03/01/2018 🔍
03/01/2018 🔍
03/01/2018 🔍
03/01/2018 🔍
03/02/2018 🔍
04/06/2018 🔍
04/10/2018 🔍
02/16/2023 🔍
Sources
Product: imagemagick.orgAdvisory: 790
Status: Not defined
CVE: CVE-2017-18209 (🔍)
GCVE (CVE): GCVE-0-2017-18209
GCVE (VulDB): GCVE-100-113961
SecurityFocus: 103218 - ImageMagick CVE-2017-18209 Denial of Service Vulnerability
See also: 🔍
Entry
Created: 03/02/2018 07:54Updated: 02/16/2023 10:30
Changes: 03/02/2018 07:54 (74), 01/09/2020 15:52 (5), 02/16/2023 10:25 (4), 02/16/2023 10:30 (1)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.