{"id":"CVE-2023-30571","published":"2023-05-29T00:00:00Z","modified":"2025-01-14T17:07:29Z","title":"Libarchive through 3.6.2 can cause directories to have world-writable permissions","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.9,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AC:H/AV:L/A:N/C:L/I:L/PR:L/S:C/UI:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00194,"percentile":0.09269,"provenance":"source"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://groups.google.com/g/libarchive-announce","tags":[]},{"url":"https://github.com/libarchive/libarchive/issues/1876","tags":[]}],"priority":{"score":4.6,"factors":[{"name":"EPSS percentile","points":1.85},{"name":"CVSS severity","points":2.73}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-14T17:07:24.189386Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-34952","exploited":false,"provenance":"source"}}