LibRaw-demosaic-pack-GPL2 up to 0.18.1 dcraw_foveon.c foveon_load_camf memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.1 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in LibRaw-demosaic-pack-GPL2 up to 0.18.1. This impacts the function foveon_load_camf of the file dcraw_foveon.c. The manipulation leads to memory corruption.
This vulnerability is documented as CVE-2017-6890. The attack can be initiated remotely. There is not any exploit available.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in LibRaw-demosaic-pack-GPL2 up to 0.18.1 (Image Processing Software). It has been rated as critical. This issue affects the function foveon_load_camf of the file dcraw_foveon.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
A boundary error within the "foveon_load_camf()" function (dcraw_foveon.c) when initializing a huffman table in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a stack-based buffer overflow.
The bug was discovered 03/10/2017. The weakness was released 05/15/2017 (GitHub Repository). It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2017-6890 since 03/14/2017. 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 66 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 100567 (openSUSE Security Update : libraw (openSUSE-2017-640)), 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 170055 (OpenSUSE Security Update for libraw (openSUSE-SU-2017:1460-1)).
Upgrading to version 0.18.2 eliminates this vulnerability. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (100567). Entries connected to this vulnerability are available at VDB-101230, VDB-101426 and VDB-101427. Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.1
VulDB Base Score: 7.3
VulDB Temp Score: 6.4
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: 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: 100567
Nessus Name: openSUSE Security Update : libraw (openSUSE-2017-640)
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: 🔍
Upgrade: LibRaw-demosaic-pack-GPL2 0.18.2
Patch: github.com
Timeline
03/10/2017 🔍03/14/2017 🔍
05/15/2017 🔍
05/15/2017 🔍
05/16/2017 🔍
05/31/2017 🔍
06/01/2017 🔍
12/06/2022 🔍
Sources
Advisory: 194f592e205990ea8fce72b6c571c14350aca716Status: Not defined
Confirmation: 🔍
CVE: CVE-2017-6890 (🔍)
GCVE (CVE): GCVE-0-2017-6890
GCVE (VulDB): GCVE-100-101231
OSVDB: - CVE-2017-6890 - LibRaw-demosaic-pack-GPL2 - Buffer Overflow Issue
See also: 🔍
Entry
Created: 05/16/2017 03:54Updated: 12/06/2022 13:12
Changes: 05/16/2017 03:54 (71), 09/26/2020 14:37 (4), 12/06/2022 13:12 (5)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.