Directory Permissions Vulnerability in Libarchive by Libarchive
CVE-2023-30571

5.3MEDIUM

Key Information:

Vendor

Libarchive

Vendor
CVE Published:
29 May 2023

What is CVE-2023-30571?

A vulnerability in Libarchive versions up to 3.6.2 allows a race condition that can result in directories being created with world-writable permissions. The issue arises during a brief alteration of the umask setting within the archive_write_disk_posix.c file, potentially leaving a permanent umask of 0. This flaw enables low-privileged users to create directories with 0777 permissions, granting them the ability to delete or rename files within those directories without restriction. Addressing this vulnerability is crucial to maintaining system integrity and preventing unauthorized file manipulation.

References

CVSS V3.1

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
Low
Availability:
None
Attack Vector:
Local
Attack Complexity:
High
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.