CVE-2021-23177
publishedlibarchive: extracting a symlink with ACLs modifies ACLs of target
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | libarchiveFixed in libarchive 3.5.2 | Affected | Not stated | redhat |
| AlmaLinux | 8 | libarchive | Advisory build | 3.3.3-3.el8_5 | ALSA-2022:0892 |
| Debian | buster | libarchive | Advisory build | 3.3.3-4+deb10u2 | DLA-3202-1 |
| Oracle Linux | 8 | libarchiveaarch64 | Advisory build | 0:3.3.3-3.el8_5 | ELSA-2022-0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchiveaarch64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Ubuntu | focal | libarchive | Advisory build | 3.4.0-2ubuntu1.1 | USN-5291-1 |
| SUSE / openSUSE | SLE-15-SP3 | bsdtaraarch64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| Debian | stretch | libarchive | Advisory build | 3.2.2-2+deb9u3 | DLA-2987-1 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | libarchivex86_64 | Advisory build | 0:3.3.3-3.el8_5 | ELSA-2022-0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchivei686 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchiveppc64le | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchives390x | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchivesrc | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchivex86_64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| AlmaLinux | 8 | bsdtar | Advisory build | 3.3.3-3.el8_5 | ALSA-2022:0892 |
| AlmaLinux | 8 | libarchive-devel | Advisory build | 3.3.3-3.el8_5 | ALSA-2022:0892 |
| Oracle Linux | 8 | bsdtaraarch64 | Advisory build | 0:3.3.3-3.el8_5 | ELSA-2022-0892 |
| Oracle Linux | 8 | bsdtarx86_64 | Advisory build | 0:3.3.3-3.el8_5 | ELSA-2022-0892 |
| Oracle Linux | 8 | libarchive-develaarch64 | Advisory build | 0:3.3.3-3.el8_5 | ELSA-2022-0892 |
| Oracle Linux | 8 | libarchive-develx86_64 | Advisory build | 0:3.3.3-3.el8_5 | ELSA-2022-0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcat-debuginfoaarch64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcat-debuginfoi686 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcat-debuginfoppc64le | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcat-debuginfos390x | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcat-debuginfox86_64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcpio-debuginfoaarch64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcpio-debuginfoi686 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcpio-debuginfoppc64le | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcpio-debuginfos390x | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdcpio-debuginfox86_64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtaraarch64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtarppc64le | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtars390x | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtarx86_64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtar-debuginfoaarch64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtar-debuginfoi686 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtar-debuginfoppc64le | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtar-debuginfos390x | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | bsdtar-debuginfox86_64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debuginfoaarch64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debuginfoi686 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debuginfoppc64le | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debuginfos390x | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debuginfox86_64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debugsourceaarch64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debugsourcei686 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debugsourceppc64le | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debugsources390x | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat Enterprise Linux | RHEL-8 | libarchive-debugsourcex86_64 | Advisory build | 3.3.3-3.el8_5 | RHSA-2022:0892 |
| SUSE / openSUSE | SLE-15-SP3 | bsdtarppc64le | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | SLE-15-SP3 | bsdtars390x | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | SLE-15-SP3 | bsdtarx86_64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | SLE-15-SP3 | libarchive-develaarch64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | SLE-15-SP3 | libarchive-develppc64le | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | SLE-15-SP3 | libarchive-devels390x | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | SLE-15-SP3 | libarchive-develx86_64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | SLE-15-SP3 | libarchive13aarch64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | SLE-15-SP3 | libarchive13ppc64le | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | SLE-15-SP3 | libarchive13s390x | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | SLE-15-SP3 | libarchive13x86_64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | SLE-15-SP4 | bsdtaraarch64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | SLE-15-SP4 | bsdtarppc64le | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | SLE-15-SP4 | bsdtars390x | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | SLE-15-SP4 | bsdtarx86_64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | SLE-15-SP4 | libarchive-develaarch64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | SLE-15-SP4 | libarchive-develppc64le | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | SLE-15-SP4 | libarchive-devels390x | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | SLE-15-SP4 | libarchive-develx86_64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | SLE-15-SP4 | libarchive13aarch64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | SLE-15-SP4 | libarchive13ppc64le | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | SLE-15-SP4 | libarchive13s390x | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | SLE-15-SP4 | libarchive13x86_64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | bsdtaraarch64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | bsdtarppc64le | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | bsdtars390x | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | bsdtarx86_64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libarchive-develaarch64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libarchive-develppc64le | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libarchive-devels390x | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libarchive-develx86_64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libarchive13aarch64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libarchive13ppc64le | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libarchive13s390x | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libarchive13x86_64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | libarchive13-32bitx86_64 | Advisory build | 3.4.2-150200.4.9.1 | SUSE-SU-2022:3393-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | bsdtaraarch64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | bsdtarppc64le | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | bsdtars390x | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | bsdtarx86_64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libarchive-develaarch64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libarchive-develppc64le | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libarchive-devels390x | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libarchive-develx86_64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libarchive13aarch64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libarchive13ppc64le | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libarchive13s390x | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libarchive13x86_64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | libarchive13-32bitx86_64 | Advisory build | 3.5.1-150400.3.6.1 | SUSE-SU-2022:3306-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtaraarch64 | Advisory build | 3.7.2-1.1 | OPENSUSE-SU-2024:13549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtarppc64le | Advisory build | 3.7.2-1.1 | OPENSUSE-SU-2024:13549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | bsdtars390x | Advisory build | 3.7.2-1.1 | OPENSUSE-SU-2024:13549-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | libarchive | Fixed in libarchive 3.5.2 (affected) | redhat · cna |
Weaknesses
1- CWE-59 CWE-59 - Improper Link Resolution Before File Access ('Link Following')
References
5- https://access.redhat.com/security/cve/CVE-2021-23177
- https://bugzilla.redhat.com/show_bug.cgi?id=2024245
- https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad
- https://github.com/libarchive/libarchive/issues/1565
- [debian-lts-announce] 20221122 [SECURITY] [DLA 3202-1] libarchive security update https://lists.debian.org/debian-lts-announce/2022/11/msg00030.html
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 44e4a2ecb012f34e1e16355435787bfd86518a30af64ef4225cdd4f437155faf
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record