Skip to content
OpenAdvisories
Unscored CVE-2021-23177 EUVD-2021-10287GHSA-fq9q-7wp8-gpr7

An improper link resolution flaw while extracting an archive can lead to changing the access control list (ACL) of the target of the link. …

Published Aug 23, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
— libarchive Fixed in libarchive 3.5.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libarchive 3.5.2-1 —
Debian 13 libarchive 3.5.2-1 —
Debian 12 libarchive 3.5.2-1 —
Debian 10 libarchive 3.3.3-4+deb10u2 DLA-3202-1
Debian 9 libarchive 3.2.2-2+deb9u3 DLA-2987-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libarchive 3.4.0-2ubuntu1.1 USN-5291-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS libarchive No fix yet —
Ubuntu Pro 16.04 LTS libarchive No fix yet —
Ubuntu Pro 14.04 LTS libarchive No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 bsdtar +2 3.3.3-3.el8_5 RHSA-2022:0892

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 bsdtar +2 3.3.3-3.el8_5 ALSA-2022:0892

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libarchive 3.3.3-3.el8_5 RLSA-2022:0892
ReleasePackageFixed inAdvisory
SLES 15 SP4 libarchive 3.5.1-150400.3.6.1 SUSE-SU-2022:3306-1
SLES 15 SP3 libarchive 3.4.2-150200.4.9.1 SUSE-SU-2022:3393-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed bsdtar 3.7.2-1.1 openSUSE-SU-2024:13549-1
openSUSE Leap 15.4 libarchive 3.5.1-150400.3.6.1 SUSE-SU-2022:3306-1
openSUSE Leap 15.3 libarchive 3.4.2-150200.4.9.1 SUSE-SU-2022:3393-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 bsdtar +2 3.3.3-3.el8_5 ELSA-2022-0892

Advisories 11

References