# CVE-2021-23177: libarchive: An improper link resolution flaw while extracting an archive can lead to changing the access control list (ACL) of th...

CVE-2021-23177 is fixed in 5 products on 1 platform, first by libarchive-tools 3.4.0-2ubuntu1.1, released December 23, 2021. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2021-23177
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0039
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 23, 2021

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | bsdtar RHEL 8 | 0:3.3.3-3.el8_5 | [RHSA-2022:0892](https://patchblox.com/security/data/fix/linux/rhsa-2022-0892.md) | Mar 15, 2022 |
| Linux | bsdtar almalinux 8 | 3.3.3-3.el8_5 | [ALSA-2022:0892](https://patchblox.com/security/data/fix/linux/alsa-2022-0892.md) | Mar 15, 2022 |
| Linux | bsdtar ol 8 | 0:3.3.3-3.el8_5 | [ELSA-2022-0892](https://patchblox.com/security/data/fix/linux/elsa-2022-0892.md) | Mar 16, 2022 |
| Linux | libarchive Debian 12.15 (bookworm) | 3.5.2-1 | [DEBIAN-CVE-2021-23177](https://patchblox.com/security/data/fix/linux/debian-cve-2021-23177.md) | Aug 23, 2022 |
| Linux | libarchive Debian 13.5 (trixie) | 3.5.2-1 | [DEBIAN-CVE-2021-23177](https://patchblox.com/security/data/fix/linux/debian-cve-2021-23177.md) | Aug 23, 2022 |
| Linux | libarchive Debian 14 | 3.5.2-1 | [DEBIAN-CVE-2021-23177](https://patchblox.com/security/data/fix/linux/debian-cve-2021-23177.md) | Aug 23, 2022 |
| Linux | libarchive RHEL 8 | 0:3.3.3-3.el8_5 | [RHSA-2022:0892](https://patchblox.com/security/data/fix/linux/rhsa-2022-0892.md) | Mar 15, 2022 |
| Linux | libarchive almalinux 8 | 3.3.3-3.el8_5 | [ALSA-2022:0892](https://patchblox.com/security/data/fix/linux/alsa-2022-0892.md) | Mar 15, 2022 |
| Linux | libarchive ol 8 | 0:3.3.3-3.el8_5 | [ELSA-2022-0892](https://patchblox.com/security/data/fix/linux/elsa-2022-0892.md) | Mar 16, 2022 |
| Linux | libarchive rocky 8 | 0:3.3.3-3.el8_5 | [RLSA-2022:0892](https://patchblox.com/security/data/fix/linux/rlsa-2022-0892.md) | Mar 15, 2022 |
| Linux | libarchive-devel RHEL 8 | 0:3.3.3-3.el8_5 | [RHSA-2022:0892](https://patchblox.com/security/data/fix/linux/rhsa-2022-0892.md) | Mar 15, 2022 |
| Linux | libarchive-devel almalinux 8 | 3.3.3-3.el8_5 | [ALSA-2022:0892](https://patchblox.com/security/data/fix/linux/alsa-2022-0892.md) | Mar 15, 2022 |
| Linux | libarchive-devel ol 8 | 0:3.3.3-3.el8_5 | [ELSA-2022-0892](https://patchblox.com/security/data/fix/linux/elsa-2022-0892.md) | Mar 16, 2022 |
| Linux | libarchive-tools Ubuntu 20.04 LTS (focal) | 3.4.0-2ubuntu1.1 | [libarchive-tools 3.4.0-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libarchive-tools-3.4.0-2ubuntu1.1.md) | Dec 23, 2021 |
| Linux | libarchive13 Ubuntu 20.04 LTS (focal) | 3.4.0-2ubuntu1.1 | [libarchive13 3.4.0-2ubuntu1.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libarchive13-3.4.0-2ubuntu1.1.md) | Dec 23, 2021 |

---

Data as of 2026-11-11T01:20:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
