libarchive up to 3.2.0 RAR File archive_read_support_format_rar.c parse_codes 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.
7.6$0-$5k0.00

Summaryinfo

A vulnerability was found in libarchive up to 3.2.0. It has been classified as critical. Affected by this vulnerability is the function parse_codes of the file archive_read_support_format_rar.c of the component RAR File Handler. The manipulation with the input 0 leads to memory corruption. This vulnerability is uniquely identified as CVE-2016-4302. Local access is required to approach this attack. No exploit exists. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in libarchive up to 3.2.0 (File Compression Software). It has been rated as critical. This issue affects the function parse_codes of the file archive_read_support_format_rar.c of the component RAR File Handler. The manipulation with the input value 0 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:

Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a RAR file with a zero-sized dictionary.

The weakness was disclosed 09/21/2016 by Cisco with Cisco Talos (Website). The advisory is shared at blog.talosintel.com. The identification of this vulnerability is CVE-2016-4302 since 04/27/2016. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. Technical details are known, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 92312 (Ubuntu 12.04 LTS / 14.04 LTS / 15.10 / 16.04 LTS : libarchive vulnerabilities (USN-3033-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 196532 (Ubuntu Security Notification for Libarchive Vulnerabilities (USN-3033-1)).

Upgrading to version 3.2.1 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (92312) and SecurityFocus (BID 91331†). The entries VDB-91755, VDB-91756, VDB-91758 and VDB-91759 are pretty similar. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.8
VulDB Meta Temp Score: 7.6

VulDB Base Score: 7.8
VulDB Temp Score: 7.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.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: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 92312
Nessus Name: Ubuntu 12.04 LTS / 14.04 LTS / 15.10 / 16.04 LTS : libarchive vulnerabilities (USN-3033-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 15621
OpenVAS Name: Amazon Linux Local Check: alas-2016-743
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: libarchive 3.2.1
Patch: github.com

Timelineinfo

04/27/2016 🔍
06/19/2016 +53 days 🔍
07/14/2016 +25 days 🔍
07/15/2016 +1 days 🔍
09/21/2016 +68 days 🔍
09/21/2016 +0 days 🔍
09/22/2016 +1 days 🔍
09/19/2022 +2188 days 🔍

Sourcesinfo

Product: github.com

Advisory: USN-3033-1
Researcher: Cisco
Organization: Cisco Talos
Status: Not defined
Confirmation: 🔍

CVE: CVE-2016-4302 (🔍)
GCVE (CVE): GCVE-0-2016-4302
GCVE (VulDB): GCVE-100-91817

OVAL: 🔍

SecurityFocus: 91331 - Libarchive CVE-2016-4302 Local Heap Buffer Overflow Vulnerability

See also: 🔍

Entryinfo

Created: 09/22/2016 09:22
Updated: 09/19/2022 14:15
Changes: 09/22/2016 09:22 (69), 04/22/2019 17:50 (14), 09/19/2022 14:10 (4), 09/19/2022 14:13 (1), 09/19/2022 14:15 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!