LibRaw 0.19.1 dcraw_common.cpp parse_makernote memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.4 | $0-$5k | 0.00 |
Summary
A vulnerability was found in LibRaw 0.19.1. It has been rated as critical. This issue affects the function parse_makernote of the file dcraw_common.cpp. This manipulation causes memory corruption.
This vulnerability is registered as CVE-2018-20337. Remote exploitation of the attack is possible. No exploit is available.
Upgrading the affected component is advised.
Details
A vulnerability was found in LibRaw 0.19.1 (Image Processing Software). It has been declared as critical. Affected by this vulnerability is the function parse_makernote of the file dcraw_common.cpp. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
There is a stack-based buffer overflow in the parse_makernote function of dcraw_common.cpp in LibRaw 0.19.1. Crafted input will lead to a denial of service or possibly unspecified other impact.
The bug was discovered 12/19/2018. The weakness was published 12/21/2018 (Website). It is possible to read the advisory at github.com. This vulnerability is known as CVE-2018-20337 since 12/21/2018. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. 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 2 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 120569 (Fedora 29 : LibRaw (2018-801432b551)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 197468 (Ubuntu Security Notification for Libraw Vulnerabilities (USN-3989-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 2 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (120569) and SecurityFocus (BID 106299†). Similar entries are available at VDB-128310, VDB-128311, VDB-128312 and VDB-131049. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
Website
- Product: https://github.com/LibRaw/LibRaw/
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: 6.3
VulDB Temp Score: 6.0
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: Memory corruptionCWE: 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: 120569
Nessus Name: Fedora 29 : LibRaw (2018-801432b551)
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
12/19/2018 🔍12/21/2018 🔍
12/21/2018 🔍
12/21/2018 🔍
12/21/2018 🔍
12/22/2018 🔍
12/29/2018 🔍
01/03/2019 🔍
06/20/2023 🔍
Sources
Product: github.comAdvisory: FEDORA-2018-801432b551
Status: Confirmed
CVE: CVE-2018-20337 (🔍)
GCVE (CVE): GCVE-0-2018-20337
GCVE (VulDB): GCVE-100-128275
SecurityFocus: 106299 - LibRAW 'libraw_cxx.cpp' Multiple Security Vulnerabilities
See also: 🔍
Entry
Created: 12/21/2018 15:57Updated: 06/20/2023 15:11
Changes: 12/21/2018 15:57 (74), 04/23/2020 10:08 (5), 06/20/2023 15:00 (4), 06/20/2023 15:05 (1), 06/20/2023 15:11 (1)
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.