VDB

CVE-2023-30571

CVE-2023-30571 PUBLISHED CVSS 3.9 LOW

Reported by mitre · Published May 29, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libarchiveconan.io3.6.2
libarchiveChainguard3.7.7-r2
libarchiveWolfi3.7.7-r2
libarchivelibarchive3.6.2

Risk scores

CVSS 3.1
3.9
CVSS:3.1/AC:H/AV:L/A:N/C:L/I:L/PR:L/S:C/UI:R

Affected products

VendorProductVersions
n/an/an/a
chainguardlibarchive0
ConanCenterlibarchive0
wolfilibarchive0
n/an/a*

Timeline

  • May 29, 2023 CVE Published
  • May 30, 2023 EPSS Score (30 in total, the first dated here)
  • Mar 17, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-30571
vulnetix vdb fixes CVE-2023-30571

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-30571/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›