{"id":"OESA-2021-1398","summary":"libarchive security update","details":"libarchive is an open-source BSD-licensed C programming library that  provides streaming access to a variety of different archive formats, including tar, cpio, pax, zip, and ISO9660 images. The distribution  also includes bsdtar and bsdcpio, full-featured implementations of  tar and cpio that use libarchive.\r\n\r\nSecurity Fix(es):\r\n\r\nlibarchive 3.4.1 through 3.5.1 has a use-after-free in copy_string (called from do_uncompress_block and process_block).(CVE-2021-36976)","modified":"2026-08-18T01:16:09.487093404Z","published":"2021-10-19T11:04:40Z","upstream":["CVE-2021-36976"],"database_specific":{"severity":"Medium"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1398"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36976"}],"affected":[{"package":{"name":"libarchive","ecosystem":"openEuler:20.03-LTS-SP1","purl":"pkg:rpm/openEuler/libarchive&distro=openEuler-20.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.3-3.oe1"}]}],"ecosystem_specific":{"aarch64":["libarchive-3.4.3-3.oe1.aarch64.rpm","libarchive-debuginfo-3.4.3-3.oe1.aarch64.rpm","libarchive-devel-3.4.3-3.oe1.aarch64.rpm","libarchive-debugsource-3.4.3-3.oe1.aarch64.rpm"],"noarch":["libarchive-help-3.4.3-3.oe1.noarch.rpm"],"src":["libarchive-3.4.3-3.oe1.src.rpm"],"x86_64":["libarchive-3.4.3-3.oe1.x86_64.rpm","libarchive-debugsource-3.4.3-3.oe1.x86_64.rpm","libarchive-devel-3.4.3-3.oe1.x86_64.rpm","libarchive-debuginfo-3.4.3-3.oe1.x86_64.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2021-1398.json"}},{"package":{"name":"libarchive","ecosystem":"openEuler:20.03-LTS-SP2","purl":"pkg:rpm/openEuler/libarchive&distro=openEuler-20.03-LTS-SP2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.3-3.oe1"}]}],"ecosystem_specific":{"aarch64":["libarchive-debugsource-3.4.3-3.oe1.aarch64.rpm","libarchive-devel-3.4.3-3.oe1.aarch64.rpm","libarchive-3.4.3-3.oe1.aarch64.rpm","libarchive-debuginfo-3.4.3-3.oe1.aarch64.rpm"],"noarch":["libarchive-help-3.4.3-3.oe1.noarch.rpm"],"src":["libarchive-3.4.3-3.oe1.src.rpm"],"x86_64":["libarchive-debuginfo-3.4.3-3.oe1.x86_64.rpm","libarchive-devel-3.4.3-3.oe1.x86_64.rpm","libarchive-3.4.3-3.oe1.x86_64.rpm","libarchive-debugsource-3.4.3-3.oe1.x86_64.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2021-1398.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}