LibRaw up to 0.18.1 dcraw_common.cpp parse_tiff_ifd memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.1$0-$5k0.00

Summaryinfo

A vulnerability labeled as critical has been found in LibRaw up to 0.18.1. The affected element is the function parse_tiff_ifd of the file internal/dcraw_common.cpp. Such manipulation leads to memory corruption. This vulnerability is documented as CVE-2017-6886. The attack can be executed remotely. There is not any exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in LibRaw up to 0.18.1 (Image Processing Software) and classified as critical. Affected by this issue is the function parse_tiff_ifd of the file internal/dcraw_common.cpp. 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. CVE summarizes:

An error within the "parse_tiff_ifd()" function (internal/dcraw_common.cpp) in LibRaw versions before 0.18.2 can be exploited to corrupt memory.

The bug was discovered 03/10/2017. The weakness was released 05/16/2017 by Jakub Jirasek with Secunia Research (GitHub Repository). The advisory is available at github.com. This vulnerability is handled as CVE-2017-6886 since 03/14/2017. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 67 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 170321 (SUSE Enterprise Linux Security Update for libraw (SUSE-SU-2017:2300-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 databases at Tenable (100567) and SecurityFocus (BID 98605†). Entries connected to this vulnerability are available at VDB-101230, VDB-101231, VDB-101427 and VDB-102634. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.5
VulDB 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: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 100567
Nessus Name: openSUSE Security Update : libraw (openSUSE-2017-640)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 867773
OpenVAS Name: Fedora Update for mingw-LibRaw FEDORA-2017-bce18ed3f2
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: LibRaw 0.18.2
Patch: github.com

Timelineinfo

03/10/2017 🔍
03/14/2017 +4 days 🔍
05/15/2017 +62 days 🔍
05/16/2017 +1 days 🔍
05/16/2017 +0 days 🔍
05/17/2017 +1 days 🔍
05/31/2017 +14 days 🔍
06/01/2017 +1 days 🔍
12/06/2022 +2014 days 🔍

Sourcesinfo

Product: github.com

Advisory: d7c3d2cb460be10a3ea7b32e9443a83c243b2251
Researcher: Jakub Jirasek
Organization: Secunia Research
Status: Not defined
Confirmation: 🔍

CVE: CVE-2017-6886 (🔍)
GCVE (CVE): GCVE-0-2017-6886
GCVE (VulDB): GCVE-100-101426

OVAL: 🔍

SecurityFocus: 98605 - LibRaw CVE-2017-6886 Memory Corruption Vulnerability
OSVDB: - LibRaw parse_tiff_ifd() function denial of service

See also: 🔍

Entryinfo

Created: 05/17/2017 08:03
Updated: 12/06/2022 14:23
Changes: 05/17/2017 08:03 (78), 09/29/2020 11:52 (8), 12/06/2022 14:23 (5)
Complete: 🔍
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!