ImageMagick 7.0.7 magick/opencl.c saveBinaryCLProgram null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in ImageMagick 7.0.7 and classified as problematic. This vulnerability affects the function saveBinaryCLProgram of the file magick/opencl.c. The manipulation leads to null pointer dereference.
This vulnerability is listed as CVE-2017-18211. The attack may be initiated remotely. There is no available exploit.
The affected component should be upgraded.
Details
A vulnerability was found in ImageMagick 7.0.7 (Image Processing Software) and classified as problematic. This issue affects the function saveBinaryCLProgram of the file magick/opencl.c. The manipulation with an unknown input leads to a null pointer dereference vulnerability. Using CWE to declare the problem leads to 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. Impacted is availability. The summary by CVE is:
In ImageMagick 7.0.7, a NULL pointer dereference vulnerability was found in the function saveBinaryCLProgram in magick/opencl.c because a program-lookup result is not checked, related to CacheOpenCLKernel.
The bug was discovered 09/30/2017. The weakness was presented 03/01/2018 (Website). It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2017-18211 since 03/01/2018. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. 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 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 103220†). See VDB-105973, VDB-106416, VDB-107134 and VDB-113786 for similar entries. Statistical analysis made it clear that VulDB provides the best quality for 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: 7.6VulDB Meta Temp Score: 7.4
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.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: USN-3681-1
Status: Not defined
CVE: CVE-2017-18211 (🔍)
GCVE (CVE): GCVE-0-2017-18211
GCVE (VulDB): GCVE-100-113963
SecurityFocus: 103220 - ImageMagick CVE-2017-18211 Denial of Service Vulnerability
See also: 🔍
Entry
Created: 03/02/2018 07:54Updated: 02/16/2023 10:42
Changes: 03/02/2018 07:54 (74), 01/09/2020 15:57 (5), 02/16/2023 10:42 (4)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.