Unrated severityNVD Advisory· Published May 29, 2023· Updated Jan 14, 2025
CVE-2023-30571
CVE-2023-30571
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
10(expand)+ 1 more
- (no CPE)
- (no CPE)range: <=3.6.2
- osv-coords8 versionspkg:apk/chainguard/libarchivepkg:apk/chainguard/libarchive-devpkg:apk/chainguard/libarchive-docpkg:apk/chainguard/libarchive-toolspkg:apk/wolfi/libarchivepkg:apk/wolfi/libarchive-devpkg:apk/wolfi/libarchive-docpkg:apk/wolfi/libarchive-tools
< 3.7.7-r2+ 7 more
- (no CPE)range: < 3.7.7-r2
- (no CPE)range: < 3.7.7-r2
- (no CPE)range: < 3.7.7-r2
- (no CPE)range: < 3.7.7-r2
- (no CPE)range: < 3.7.7-r2
- (no CPE)range: < 3.7.7-r2
- (no CPE)range: < 3.7.7-r2
- (no CPE)range: < 3.7.7-r2
Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.