{"id":"RLSA-2022:0892","summary":"Moderate: libarchive security update","details":"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.\n\nSecurity Fix(es):\n\n* libarchive: extracting a symlink with ACLs modifies ACLs of target (CVE-2021-23177)\n\n* libarchive: symbolic links incorrectly followed when changing modes, times, ACL and flags of a file while extracting an archive (CVE-2021-31566)\n\nFor 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.","modified":"2026-02-05T01:30:08.799640Z","published":"2022-03-15T09:11:33Z","upstream":["CVE-2021-23177","CVE-2021-31566"],"references":[{"type":"ADVISORY","url":"https://errata.rockylinux.org/RLSA-2022:0892"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024237"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024245"}],"affected":[{"package":{"name":"libarchive","ecosystem":"Rocky Linux:8","purl":"pkg:rpm/rocky-linux/libarchive?distro=rocky-linux-8-5-legacy&epoch=0"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.3-3.el8_5"}],"database_specific":{"yum_repository":"BaseOS"}}],"database_specific":{"source":"https://storage.googleapis.com/resf-osv-data/RLSA-2022:0892.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L"}],"credits":[{"name":"Rocky Enterprise Software Foundation"},{"name":"Red Hat"}]}