CVE-2023-30571

MediumCVSS 5.3/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 5.3/10CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
May 29, 2023
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2023

CVE-2023-305757.5Apache Guacamole 1.5.1 and older may incorrectly calculate the lengths of instruction elements sent during the Guacamole protocol handshake,CVE-2023-305768.1Apache Guacamole 0.9.10 through 1.5.1 may continue to reference a freed RDP audio input buffer. Depending on timing, this may allow an attacCVE-2023-305777.8AMANDA (Advanced Maryland Automatic Network Disk Archiver) before tag-community-3.5.4 mishandles argument checking for runtar.c, a differentCVE-2023-30585.4A vulnerability was found in 07FLY CRM up to 1.2.0. It has been declared as problematic. This vulnerability affects unknown code of the compCVE-2023-305817.5The use of __proto__ in process.mainModule.__proto__.require() can bypass the policy mechanism and require modules outside of the policy.jsoCVE-2023-305825.3A vulnerability has been identified in Node.js version 20, affecting users of the experimental permission model when the --allow-fs-read flaCVE-2023-305837.5fs.openAsBlob() can bypass the experimental permission model when using the file system read restriction with the `--allow-fs-read` flag in CVE-2023-305847.7A vulnerability has been discovered in Node.js version 20, specifically within the experimental permission model. This flaw relates to improCVE-2023-305857.5A vulnerability has been identified in the Node.js (.msi version) installation process, specifically affecting Windows users who install NodCVE-2023-305867.5A privilege escalation vulnerability exists in Node.js 20 that allowed loading arbitrary OpenSSL engines when the experimental permission moCVE-2023-305877.5A vulnerability in Node.js version 20 allows for bypassing restrictions set by the --experimental-permission flag using the built-in inspectCVE-2023-305885.3When an invalid public key is used to create an x509 certificate using the crypto.X509Certificate() API a non-expect termination occurs maki
CVE-2023-30571: Medium severity, CVSS 5.3 | Vulnix