Link Following Affecting libarchive package, versions <0:3.3.3-3.el8_5


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.39% (32nd 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-ALMALINUX8-LIBARCHIVE-5619482
  • published28 May 2023
  • disclosed15 Mar 2022

Introduced: 15 Mar 2022

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

How to fix?

Upgrade AlmaLinux:8 libarchive to version 0:3.3.3-3.el8_5 or higher.
This issue was patched in ALSA-2022:0892.

NVD Description

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

An improper link resolution flaw while extracting an archive 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. A local attacker may use this flaw to change the ACL of a file on the system and gain more privileges.

CVSS Base Scores

version 3.1