CVE-2021-23177
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,
02 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,
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 0.39% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 32.9% of scored records. A rank, not a probability.
- NVD base score
- 7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2022-08-23 00:00Z4 YR AGO
- Last updated
- 2024-08-03 19:05Z2 YR AGO
- Reserved
- 2021-12-16
- Assigning CNA
- redhat
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-59Improper Link Resolution Before File Access ('Link Following')Base
- Data version
- 5.1
- Document digest
- 61230105e39491d3fa65e2c5d669027a044e280d11258c28ee536fb95fa56829
05 Affected products
06 References
- github.comhttps://github.com/libarchive/libarchive/issues/1565
- github.comhttps://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad
- bugzilla.redhat.comhttps://bugzilla.redhat.com/show_bug.cgi?id=2024245
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2021-23177
- lists.debian.org[debian-lts-announce] 20221122 [SECURITY] [DLA 3202-1] libarchive security updatehttps://lists.debian.org/debian-lts-announce/2022/11/msg00030.html
07 Fixed in
AlmaLinux 8
- bsdtar Fixed in 3.3.3-3.el8_5
- libarchive Fixed in 3.3.3-3.el8_5
- libarchive-devel Fixed in 3.3.3-3.el8_5
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- bsdtar Fixed in 3.3.3-3.el8_5
- libarchive Fixed in 3.3.3-3.el8_5
- libarchive-devel Fixed in 3.3.3-3.el8_5
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- libarchive Fixed in 3.5.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libarchive Fixed in 3.5.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libarchive Fixed in 3.5.2-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- libarchive Fixed in 3.4.0-2ubuntu1.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- libarchive No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- libarchive No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- libarchive No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.