Directory Permissions Vulnerability in Libarchive by Libarchive
CVE-2023-30571
5.3MEDIUM
What is CVE-2023-30571?
A vulnerability in Libarchive versions up to 3.6.2 allows a race condition that can result in directories being created with world-writable permissions. The issue arises during a brief alteration of the umask setting within the archive_write_disk_posix.c
file, potentially leaving a permanent umask of 0. This flaw enables low-privileged users to create directories with 0777 permissions, granting them the ability to delete or rename files within those directories without restriction. Addressing this vulnerability is crucial to maintaining system integrity and preventing unauthorized file manipulation.