libarchive 3.1.0 RAR Decoder archive_read_support_format_rar.c parse_codes Archive double free
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.4 | $0-$5k | 0.00 |
A vulnerability, which was classified as problematic, was found in libarchive 3.1.0 (File Compression Software). This affects the function parse_codes
of the file libarchive/archive_read_support_format_rar.c of the component RAR Decoder. The manipulation as part of a Archive leads to a double free vulnerability. CWE is classifying the issue as CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. This is going to have an impact on availability. The summary by CVE is:
libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c, parse_codes(), realloc(rar->lzss.window, new_size) with new_size = 0 that can result in Crash/DoS. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.
The bug was discovered 12/13/2018. The weakness was shared 12/20/2018 (Website). It is possible to read the advisory at bugs.launchpad.net. This vulnerability is uniquely identified as CVE-2018-1000877 since 12/20/2018. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. 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 7 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 119893 (Debian DSA-4360-1 : libarchive - security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176551 (Debian Security Update for libarchive (DSA 4360-1)).
Upgrading eliminates this vulnerability. A possible mitigation has been published 1 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (119893). The entries 128200, 128201, 128202 and 130474 are related to this item.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
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: Double freeCWE: CWE-415 / CWE-119
ATT&CK: Unknown
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: 119893
Nessus Name: Debian DSA-4360-1 : libarchive - security update
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: 🔍
Patch: github.com
Timeline
12/13/2018 🔍12/20/2018 🔍
12/20/2018 🔍
12/20/2018 🔍
12/20/2018 🔍
12/21/2018 🔍
12/27/2018 🔍
12/28/2018 🔍
06/20/2023 🔍
Sources
Advisory: RHSA-2019:2298Status: Confirmed
CVE: CVE-2018-1000877 (🔍)
OVAL: 🔍
SecurityFocus: 106324 - Libarchive Multiple Denial Of Service Vulnerabilities
See also: 🔍
Entry
Created: 12/21/2018 10:55Updated: 06/20/2023 10:36
Changes: 12/21/2018 10:55 (77), 04/22/2020 16:27 (5), 06/20/2023 10:36 (5)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.