Use After Free Affecting libarchive package, versions [3.1.0,3.4.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.46% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-LIBARCHIVE-2318960
  • published14 Dec 2021
  • disclosed20 Dec 2018
  • creditUnknown

Introduced: 20 Dec 2018

CVE-2018-1000878  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade libarchive to version 3.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free libarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-416: Use After Free vulnerability in RAR decoder - libarchive/archive_read_support_format_rar.c that can result in Crash/DoS - it is unknown if RCE is possible. This attack appear to be exploitable via the victim must open a specially crafted RAR archive.

CVSS Scores

version 3.1