Improper Input Validation Affecting libarchive package, versions [,3.2.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
10.28% (96th 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-2318925
  • published14 Dec 2021
  • disclosed7 May 2016
  • creditUnknown

Introduced: 7 May 2016

CVE-2016-1541  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade libarchive to version 3.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. Heap-based buffer overflow in the zip_read_mac_metadata function in archive_read_support_format_zip.c in libarchive before 3.2.0 allows remote attackers to execute arbitrary code via crafted entry-size values in a ZIP archive.

CVSS Base Scores

version 3.1