{"schema_version":"1.7.2","id":"OESA-2026-5222","modified":"2026-11-26T12:14:01Z","published":"2026-11-26T12:14:01Z","upstream":["CVE-2023-30571"],"summary":"libarchive security update","details":"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 .\r\n\r\nSecurity Fix(es):\n\nLibarchive through 3.6.2 can cause directories to have world-writable permissions. The umask() call inside archive_write_disk_posix.c changes the umask of the whole process for a very short period of time; a race condition with another thread can lead to a permanent umask 0 setting. Such a race condition could lead to implicit directory creation with permissions 0777 (without the sticky bit), which means that any low-privileged local user can delete and rename files inside those directories.(CVE-2023-30571)","affected":[{"package":{"ecosystem":"openEuler:22.03-LTS-SP4","name":"libarchive","purl":"pkg:rpm/openEuler/libarchive&distro=openEuler-22.03-LTS-SP4"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.2-17.oe2203sp4"}]}],"ecosystem_specific":{"aarch64":["bsdcat-3.5.2-17.oe2203sp4.aarch64.rpm","bsdcpio-3.5.2-17.oe2203sp4.aarch64.rpm","bsdtar-3.5.2-17.oe2203sp4.aarch64.rpm","libarchive-3.5.2-17.oe2203sp4.aarch64.rpm","libarchive-debuginfo-3.5.2-17.oe2203sp4.aarch64.rpm","libarchive-debugsource-3.5.2-17.oe2203sp4.aarch64.rpm","libarchive-devel-3.5.2-17.oe2203sp4.aarch64.rpm"],"noarch":["libarchive-help-3.5.2-17.oe2203sp4.noarch.rpm"],"src":["libarchive-3.5.2-17.oe2203sp4.src.rpm"],"x86_64":["bsdcat-3.5.2-17.oe2203sp4.x86_64.rpm","bsdcpio-3.5.2-17.oe2203sp4.x86_64.rpm","bsdtar-3.5.2-17.oe2203sp4.x86_64.rpm","libarchive-3.5.2-17.oe2203sp4.x86_64.rpm","libarchive-debuginfo-3.5.2-17.oe2203sp4.x86_64.rpm","libarchive-debugsource-3.5.2-17.oe2203sp4.x86_64.rpm","libarchive-devel-3.5.2-17.oe2203sp4.x86_64.rpm"]}}],"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/zh/security/security-bulletins/detail/?id=openEuler-SA-2026-5222"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30571"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H"}],"database_specific":{"severity":"Medium"}}
