CVE-2023-30571 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....
MediumCVSS 5.3
EPSS 0.19%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 1 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libarchive(Debian 12) | = 3.6.2-1; = 3.6.2-1+deb12u1; = 3.6.2-1+deb12u2; = 3.6.2-1+deb12u3 +21 more | No fix listed | No fix yet |
| debian/libarchive(Debian 13) | = 3.7.4-4; = 3.7.4-4+deb13u1; = 3.8.4-1; = 3.8.5-1 +7 more | No fix listed | No fix yet |
| debian/libarchive(Debian 14) | = 3.7.4-4; = 3.8.4-1; = 3.8.5-1; = 3.8.6-1 +6 more | No fix listed | No fix yet |
| ubuntu/libarchive(Ubuntu 22.04) | = 3.4.3-2; = 3.4.3-2build1; = 3.5.2-1; = 3.5.2-1ubuntu1 +11 more | No fix listed | No fix yet |
| ubuntu/libarchive(Ubuntu Pro 14.04) | = 3.1.2-5ubuntu1; = 3.1.2-7ubuntu1; = 3.1.2-7ubuntu2; = 3.1.2-7ubuntu2.1 +11 more | No fix listed | No fix yet |
| ubuntu/libarchive(Ubuntu Pro 16.04) | = 3.1.2-11build1; = 3.1.2-11ubuntu0.16.04.1; = 3.1.2-11ubuntu0.16.04.2; = 3.1.2-11ubuntu0.16.04.3 +9 more | No fix listed | No fix yet |
| ubuntu/libarchive(Ubuntu Pro 18.04) | = 3.2.2-3.1; = 3.2.2-3.1ubuntu0.1; = 3.2.2-3.1ubuntu0.2; = 3.2.2-3.1ubuntu0.3 +8 more | No fix listed | No fix yet |
| ubuntu/libarchive(Ubuntu Pro 20.04) | = 3.4.0-1; = 3.4.0-1build1; = 3.4.0-1ubuntu2; = 3.4.0-2ubuntu1 +9 more | No fix listed | No fix yet |
| libarchive | <= 3.6.2 | after 3.6.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libarchive(Debian:12) | All versions | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u3 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u4 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u5 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-1.1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-1.1~exp1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-2.1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-1.1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-3 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-4 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.10-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.4-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.5-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.6-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.7-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.8-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.8-2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.9-1 | No fix listed |
Show 90 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libarchive(Debian:13) | All versions | No fix listed |
| debian/libarchive(Debian:13) | = 3.7.4-4 | No fix listed |
| debian/libarchive(Debian:13) | = 3.7.4-4+deb13u1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.10-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.4-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.5-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.6-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.7-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.8-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.8-2 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.9-1 | No fix listed |
| debian/libarchive(Debian:14) | All versions | No fix listed |
| debian/libarchive(Debian:14) | = 3.7.4-4 | No fix listed |
| debian/libarchive(Debian:14) | = 3.8.10-1 | No fix listed |
| debian/libarchive(Debian:14) | = 3.8.4-1 | No fix listed |
| debian/libarchive(Debian:14) | = 3.8.5-1 | No fix listed |
| debian/libarchive(Debian:14) | = 3.8.6-1 | No fix listed |
| debian/libarchive(Debian:14) | = 3.8.7-1 | No fix listed |
| debian/libarchive(Debian:14) | = 3.8.8-1 | No fix listed |
| debian/libarchive(Debian:14) | = 3.8.8-2 | No fix listed |
| debian/libarchive(Debian:14) | = 3.8.9-1 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | All versions | No fix listed |
| libarchive | <= 3.6.2 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | All versions | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-5ubuntu1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2.1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2.2 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2.3 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2.4 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2.6 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2.7 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2.8 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2.8+esm1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2.8+esm3 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2.8+esm4 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:14.04) | = 3.1.2-7ubuntu2.8+esm5 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | All versions | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11build1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11ubuntu0.16.04.1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11ubuntu0.16.04.2 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11ubuntu0.16.04.3 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11ubuntu0.16.04.4 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11ubuntu0.16.04.5 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11ubuntu0.16.04.6 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11ubuntu0.16.04.7 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11ubuntu0.16.04.8 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11ubuntu0.16.04.8+esm1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11ubuntu0.16.04.8+esm2 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:16.04) | = 3.1.2-11ubuntu0.16.04.8+esm3 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | All versions | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | = 3.2.2-3.1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | = 3.2.2-3.1ubuntu0.1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | = 3.2.2-3.1ubuntu0.2 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | = 3.2.2-3.1ubuntu0.3 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | = 3.2.2-3.1ubuntu0.4 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | = 3.2.2-3.1ubuntu0.5 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | = 3.2.2-3.1ubuntu0.6 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | = 3.2.2-3.1ubuntu0.7 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | = 3.2.2-3.1ubuntu0.7+esm1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | = 3.2.2-3.1ubuntu0.7+esm2 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:18.04) | = 3.2.2-3.1ubuntu0.7+esm3 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | All versions | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-1build1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-1ubuntu2 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-2ubuntu1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-2ubuntu1.1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-2ubuntu1.2 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-2ubuntu1.3 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-2ubuntu1.4 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-2ubuntu1.5 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-2ubuntu1.5+esm1 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-2ubuntu1.5+esm2 | No fix listed |
| ubuntu/libarchive(Ubuntu:Pro:20.04) | = 3.4.0-2ubuntu1.5+esm3 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.4.3-2 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.4.3-2build1 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.5.2-1 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.5.2-1ubuntu1 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.6.0-1ubuntu1 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.6.0-1ubuntu1.1 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.6.0-1ubuntu1.2 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.6.0-1ubuntu1.3 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.6.0-1ubuntu1.4 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.6.0-1ubuntu1.5 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.6.0-1ubuntu1.6 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.6.0-1ubuntu1.7 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.6.0-1ubuntu1.8 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | = 3.6.0-1ubuntu1.9 | No fix listed |
References
- Debian Security Tracker CVE-2023-30571 vendor-advisory
- groups.google.com release-notes
- github.com issue-tracking
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking