VULNERABILITY INTELLIGENCE
CVE-2023-30571
CVSS score3.9 LOW
EPSS probability0.19%
CISA KEVNot currently listed
Published2023-05-29
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Description
Libarchive 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.
Weakness classification
- nvd@nist.gov: CWE-362
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-362
Primary references
- cve@mitre.org — Issue Tracking
- cve@mitre.org — Release Notes
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes