CVEfocus › CVE database › CVE-2021-23177

CVE-2021-23177

EPSS 0.4% (higher than 25% of CVEs)Published 2022-08-23Updated 2024-08-03Assigner: redhat

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.

CWE-59

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
2Fix pending
7Will not fix
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10libarchiveNot affected
vulnerable_code_not_present
Ubuntu 24.04libarchiveNot affected
vulnerable_code_not_present
Ubuntu 22.04libarchiveNot affected
vulnerable_code_not_present
Ubuntu 20.04libarchiveFixed3.4.0-2ubuntu1.1UBUNTU-CVE-2021-23177
Ubuntu 18.04libarchiveFix pendingUBUNTU-CVE-2021-23177
Ubuntu 16.04libarchiveWill not fix
intrusive backport to bionic On Bionic and below, the changes are too intrusive and may introduce regressions.
UBUNTU-CVE-2021-23177
Ubuntu 14.04libarchiveFix pendingUBUNTU-CVE-2021-23177
Debian 14libarchiveFixed3.5.2-1DEBIAN-CVE-2021-23177
Debian 13libarchiveFixed3.5.2-1DEBIAN-CVE-2021-23177
Debian 12libarchiveFixed3.5.2-1DEBIAN-CVE-2021-23177
Red Hat Enterprise Linux 9bsdtarNot affected
Red Hat Enterprise Linux 9libarchiveNot affected
Red Hat Enterprise Linux 9libarchive-develNot affected
Red Hat Enterprise Linux 8bsdtarFixed0:3.3.3-3.el8_5RHSA-2022:0892
Red Hat Enterprise Linux 8libarchiveFixed0:3.3.3-3.el8_5RHSA-2022:0892
Red Hat Enterprise Linux 8libarchive-develFixed0:3.3.3-3.el8_5RHSA-2022:0892
Red Hat Enterprise Linux 7bsdcpioWill not fix
Out of support scope
Red Hat Enterprise Linux 7bsdtarWill not fix
Out of support scope
Red Hat Enterprise Linux 7libarchiveWill not fix
Out of support scope
Red Hat Enterprise Linux 7libarchive-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libarchiveWill not fix
Out of support scope
Red Hat Enterprise Linux 6libarchive-develWill not fix
Out of support scope
AlmaLinux 8bsdtarFixed3.3.3-3.el8_5ALSA-2022:0892
AlmaLinux 8libarchiveFixed3.3.3-3.el8_5ALSA-2022:0892
AlmaLinux 8libarchive-develFixed3.3.3-3.el8_5ALSA-2022:0892
Rocky Linux 8libarchiveFixed0:3.3.3-3.el8_5RLSA-2022:0892

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.