Symlink Attack Affecting libarchive package, versions [,3.5.2)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.06% (28th 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-2989725
  • published24 Aug 2022
  • disclosed24 Aug 2022
  • creditUnknown

Introduced: 24 Aug 2022

CVE-2021-23177  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade libarchive to version 3.5.2 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack due to an improper link resolution while extracting an archive. Exploiting this vulnerability can lead to changing the access control list (ACL) of the target of the link. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive.

CVSS Scores

version 3.1