CVEfocus › CVE database › CVE-2023-30571

CVE-2023-30571

CVSS 3.9 LowEPSS 0.2% (higher than 6% of CVEs)Published 2023-05-29Updated 2025-01-14Assigner: mitre

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.

CWE-362

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fix pending
14Will not fix
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04libarchiveWill not fix
Upstream fix is just a documentation change to specify that users of libarchive need to use a mutex. We will not be releasing a security update to change the…
UBUNTU-CVE-2023-30571
Ubuntu 20.04libarchiveFix pendingUBUNTU-CVE-2023-30571
Ubuntu 18.04libarchiveFix pendingUBUNTU-CVE-2023-30571
Ubuntu 16.04libarchiveWill not fix
Upstream fix is just a documentation change to specify that users of libarchive need to use a mutex. We will not be releasing a security update to change the…
UBUNTU-CVE-2023-30571
Ubuntu 14.04libarchiveFix pendingUBUNTU-CVE-2023-30571
Debian 14libarchiveWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2023-30571
Debian 13libarchiveWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2023-30571
Debian 12libarchiveWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2023-30571
Red Hat Enterprise Linux 9bsdtarWill not fix
Will not fix
Red Hat Enterprise Linux 9libarchiveWill not fix
Will not fix
Red Hat Enterprise Linux 9libarchive-develWill not fix
Will not fix
Red Hat Enterprise Linux 8bsdtarNot affected
Red Hat Enterprise Linux 8libarchiveNot affected
Red Hat Enterprise Linux 8libarchive-develNot affected
Red Hat Enterprise Linux 7bsdcpioWill not fix
Out of support scope
Red Hat Enterprise Linux 7bsdtarWill not fix
Out of support scope
Red Hat Enterprise Linux 7libarchiveWill not fix
Out of support scope
Red Hat Enterprise Linux 7libarchive-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libarchiveWill not fix
Out of support scope
Red Hat Enterprise Linux 6libarchive-develWill not fix
Out of support scope

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.