First published: Mon May 29 2023(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Libarchive Libarchive | <=3.6.2 | |
F5 Traffix SDC | =5.2.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-30571 is a vulnerability in Libarchive through version 3.6.2 that can cause directories to have world-writable permissions.
The severity of CVE-2023-30571 is medium with a severity value of 5.3.
CVE-2023-30571 in Libarchive can lead to a race condition with another thread, resulting in a permanent umask 0 setting and directories having world-writable permissions.
To fix CVE-2023-30571 in Libarchive, you should update to version 3.6.3 or later.
You can find more information about CVE-2023-30571 in the Libarchive security advisory and the GitHub issue related to this vulnerability.