Out-of-bounds Read Affecting libarchive package, versions [0,3.2.2)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
1.04% (84th 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-2318953
  • published14 Dec 2021
  • disclosed15 Feb 2017
  • creditUnknown

Introduced: 15 Feb 2017

CVE-2016-8688  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade libarchive to version 3.2.2 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. The mtree bidder in libarchive 3.2.1 does not keep track of line sizes when extending the read-ahead, which allows remote attackers to cause a denial of service (crash) via a crafted file, which triggers an invalid read in the (1) detect_form or (2) bid_entry function in libarchive/archive_read_support_format_mtree.c.

References

CVSS Scores

version 3.1