#VU96964 Race condition in libarchive - CVE-2023-30571
Published: September 9, 2024
libarchive
libarchive
Description
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to a race condition due to the umask() call inside archive_write_disk_posix.c changes the umask of the whole process for a very short period of time. 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.