CVE-2021-23177: High severity oracle libarchive vulnerability

Published Nov 17, 2021
·
Updated

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.

Other sources

In libarchive before 3.5.2, when an archive entry contains a symbolic link that has defined ACLs on Linux, on extraction the ACLs of the link target are modified. This is because the function aclsetfile() is used without a prior check if the file is not a symbolic link. On Linux ACLs on symbolic links are not supported.

Reference: https://github.com/libarchive/libarchive/issues/1565

Upstream patch: https://github.com/libarchive/libarchive/commit/fba4f123cc456d2b2538f811bb831483bf336bad

Red Hat

Affected Software

25 affected componentsFixes available
redhat/libarchive<3.5.2
3.5.2
Libarchive libarchive<3.5.2
Fedoraproject Fedora=35
redhat Enterprise Linux=8.0
redhat Enterprise Linux Eus=8.6
redhat Enterprise Linux For Ibm Z Systems=8.0
redhat Enterprise Linux For Ibm Z Systems Eus=8.6
redhat Enterprise Linux For Power Little Endian=8.0
redhat Enterprise Linux For Power Little Endian Eus=8.6
redhat Enterprise Linux Server Aus=8.6
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.6
redhat Enterprise Linux Server Tus=8.6
redhat Codeready Linux Builder
redhat Enterprise Linux=8.0
redhat Enterprise Linux Eus=8.6
redhat Enterprise Linux For Ibm Z Systems=8.0
redhat Enterprise Linux For Ibm Z Systems Eus=8.6
redhat Enterprise Linux For Power Little Endian=8.0
redhat Enterprise Linux For Power Little Endian Eus=8.6
Debian Debian Linux=10.0
F5 BIG-IP>=17.1.0<=17.1.1
F5 BIG-IP>=16.1.0<=16.1.5
F5 BIG-IP>=15.1.0<=15.1.10
F5 BIG-IQ Centralized Management>=8.2.0<=8.3.0
8.4.0
F5 Traffix SDC=5.2.0

Event History

Nov 17, 2021
Data Sourced
via Red Hat·04:52 PM
DescriptionSeverityAffected Software
Aug 23, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Sep 6, 2024
Advisory Published
via F5·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-23177?

CVE-2021-23177 is an improper link resolution flaw in Libarchive that can lead to changing the access control list (ACL) of the target of the link.

2

How does CVE-2021-23177 affect the software?

CVE-2021-23177 affects Libarchive with a version up to 3.5.2 and Fedora Project Fedora 35.

3

How can an attacker exploit CVE-2021-23177?

An attacker may provide a malicious archive to a victim user who would trigger this flaw when trying to extract the archive.

4

What is the severity of CVE-2021-23177?

CVE-2021-23177 has a severity rating of 7.8 (High).

5

How to fix CVE-2021-23177?

To fix CVE-2021-23177, users should update Libarchive to version 3.5.2 or newer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203