Skip to content
OpenAdvisories
Medium ALSA-2022:0892 2 CVEs

Moderate: libarchive security update

Published Mar 15, 2022 · Updated Oct 29, 2026

Summary

The libarchive programming library can create and read several different streaming archive formats, including GNU tar, cpio, and ISO 9660 CD-ROM images. Libarchive is used notably in the bsdtar utility, scripting language bindings such as python-libarchive, and several popular desktop file managers.

Security Fix(es):

* libarchive: extracting a symlink with ACLs modifies ACLs of target (CVE-2021-23177)

* libarchive: symbolic links incorrectly followed when changing modes, times, ACL and flags of a file while extracting an archive (CVE-2021-31566)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Fixed packages 3

ReleasePackageFixed in
AlmaLinux · 8 bsdtar 3.3.3-3.el8_5
AlmaLinux · 8 libarchive 3.3.3-3.el8_5
AlmaLinux · 8 libarchive-devel 3.3.3-3.el8_5

Vulnerabilities 2

References

  • report
    https://vulners.com/cve/CVE-2021-23177
  • report
    https://vulners.com/cve/CVE-2021-31566