Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2023-30571

Published: 29 May 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.

Notes

AuthorNote
mdeslaur
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 documentation. Marking
this CVE as ignored for all releases.

Priority

Negligible

Cvss 3 Severity Score

5.3

Score breakdown

Status

Package Release Status
libarchive
Launchpad, Ubuntu, Debian
bionic Ignored

focal Ignored

jammy Ignored

kinetic Ignored
(end of life, was deferred [2023-07-10])
lunar Ignored

trusty Ignored

upstream Needs triage

xenial Ignored

Patches:
upstream: https://github.com/libarchive/libarchive/pull/1875
upstream: https://github.com/libarchive/libarchive/commit/27bad820790aacdff32dcbd09eeca69037d7c0ac

Severity score breakdown

Parameter Value
Base score 5.3
Attack vector Local
Attack complexity High
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact Low
Availability impact High
Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H