Out-of-bounds Write Affecting libarchive package, versions [3.4.0,3.4.2)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.56% (78th 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 IDSNYK-UNMANAGED-LIBARCHIVE-2318946
  • published14 Dec 2021
  • disclosed20 Feb 2020
  • creditUnknown

Introduced: 20 Feb 2020

CVE-2020-9308  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade libarchive to version 3.4.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write archive_read_support_format_rar5.c in libarchive before 3.4.2 attempts to unpack a RAR5 file with an invalid or corrupted header (such as a header size of zero), leading to a SIGSEGV or possibly unspecified other impact.

CVSS Scores

version 3.1