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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.62% (80th 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-2318936
  • published14 Dec 2021
  • disclosed24 Oct 2019
  • creditUnknown

Introduced: 24 Oct 2019

CVE-2019-18408  (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 archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarchive before 3.4.0 has a use-after-free in a certain ARCHIVE_FAILED situation, related to Ppmd7_DecodeSymbol.

CVSS Base Scores

version 3.1