{"id":"ALSA-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-04T03:09:48.993094Z","published":"2022-03-15T09:11:33Z","related":["CVE-2021-23177","CVE-2021-31566"],"references":[{"type":"ADVISORY","url":"https://errata.almalinux.org/8/ALSA-2022-0892.html"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2021-23177"},{"type":"REPORT","url":"https://vulners.com/cve/CVE-2021-31566"}],"affected":[{"package":{"name":"bsdtar","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/bsdtar"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.3-3.el8_5"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0892.json"}},{"package":{"name":"libarchive","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/libarchive"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.3-3.el8_5"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0892.json"}},{"package":{"name":"libarchive-devel","ecosystem":"AlmaLinux:8","purl":"pkg:rpm/almalinux/libarchive-devel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.3-3.el8_5"}]}],"database_specific":{"source":"https://github.com/AlmaLinux/osv-database/blob/master/advisories/almalinux8/ALSA-2022:0892.json"}}],"schema_version":"1.7.3"}