Improper Input Validation Affecting libarchive package, versions <3.2.1-r0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.67% (92nd 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-ALPINE33-LIBARCHIVE-468186
  • published22 Sept 2019
  • disclosed22 Sept 2019
  • creditUnknown

Introduced: 22 Sep 2019

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

How to fix?

Upgrade Alpine:3.3 libarchive to version 3.2.1-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libarchive package and not the libarchive package as distributed by Alpine. See How to fix? for Alpine:3.3 relevant fixed versions and status.

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.