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


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.45% (75th 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-2318968
  • published14 Dec 2021
  • disclosed21 Sept 2016
  • creditUnknown

Introduced: 21 Sep 2016

CVE-2016-5418  (opens in a new tab)
CWE-19  (opens in a new tab)
CWE-20  (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 Improper Input Validation. The sandboxing code in libarchive 3.2.0 and earlier mishandles hardlink archive entries of non-zero data size, which might allow remote attackers to write to arbitrary files via a crafted archive file.

CVSS Scores

version 3.1