CVE-2021-31566 An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file outside of the archive. An attacker may provide a mal...
HighCVSS 7.8
EPSS 0.39%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
An improper link resolution flaw can occur while extracting an archive leading to changing modes, times, access control lists, and flags of a file outside of the archive. An attacker may provide a malicious archive to a victim user, who would trigger this flaw when trying to extract the archive. A local attacker may use this flaw to gain more privileges in a system.
Upgrade path
23 packages: 8 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat codeready linux builder | All versions | 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 |
| alpine/libarchive(Alpine v3.13) | < 3.5.3-r0 | 3.5.3-r0 | Fixed |
| alpine/libarchive(Alpine v3.14) | < 3.5.3-r0 | 3.5.3-r0 | Fixed |
| debian/libarchive(Debian 12) | < 3.5.2-1 | 3.5.2-1 | Fixed |
| debian/libarchive(Debian 13) | < 3.5.2-1 | 3.5.2-1 | Fixed |
| debian/libarchive(Debian 14) | < 3.5.2-1 | 3.5.2-1 | Fixed |
| libarchive | < 3.5.2 | 3.5.2 | Fixed |
| Splunk Universal Forwarder | = 9.1.0; >= 8.2.0, < 8.2.12; >= 9.0.0, < 9.0.6 | 8.2.12, 9.0.6 | Fixed |
| ubuntu/libarchive(Ubuntu 20.04) | < 3.4.0-2ubuntu1.1; = 3.4.0-1; = 3.4.0-1build1; = 3.4.0-1ubuntu2 +1 more | 3.4.0-2ubuntu1.1 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 35 | No fix listed | Versions listed |
| redhat enterprise linux | = 8.0 | No fix listed | Versions listed |
| redhat enterprise linux eus | = 8.6 | No fix listed | Versions listed |
| redhat enterprise linux for ibm z systems | = 8.0 | No fix listed | Versions listed |
| redhat enterprise linux for ibm z systems eus | = 8.6 | No fix listed | Versions listed |
| redhat enterprise linux for power little endian | = 8.0 | No fix listed | Versions listed |
| redhat enterprise linux for power little endian eus | = 8.6 | No fix listed | Versions listed |
| redhat enterprise linux server aus | = 8.6 | No fix listed | Versions listed |
| redhat enterprise linux server for power little endian update services for sap solutions | = 8.6 | No fix listed | Versions listed |
| redhat enterprise linux server tus | = 8.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libarchive(Debian:12) | < 3.5.2-1 | 3.5.2-1 |
| debian/libarchive(Debian:13) | < 3.5.2-1 | 3.5.2-1 |
| debian/libarchive(Debian:14) | < 3.5.2-1 | 3.5.2-1 |
| alpine/libarchive(Alpine:v3.13) | < 3.5.3-r0 | 3.5.3-r0 |
| alpine/libarchive(Alpine:v3.14) | < 3.5.3-r0 | 3.5.3-r0 |
| libarchive | < 3.5.2 | 3.5.2 |
| fedoraproject fedora | = 35 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux eus | = 8.6 | No fix listed |
| redhat enterprise linux for ibm z systems | = 8.0 | No fix listed |
| redhat enterprise linux for ibm z systems eus | = 8.6 | No fix listed |
| redhat enterprise linux for power little endian | = 8.0 | No fix listed |
| redhat enterprise linux for power little endian eus | = 8.6 | No fix listed |
| redhat enterprise linux server aus | = 8.6 | No fix listed |
| redhat enterprise linux server for power little endian update services for sap solutions | = 8.6 | No fix listed |
| redhat enterprise linux server tus | = 8.6 | No fix listed |
| redhat codeready linux builder | All versions | No fix listed |
| debian linux | = 10.0 | No fix listed |
| Splunk Universal Forwarder | >= 8.2.0, < 8.2.12 | 8.2.12 |
| Splunk Universal Forwarder | >= 9.0.0, < 9.0.6 | 9.0.6 |
| Splunk Universal Forwarder | = 9.1.0 | 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 |
Show 41 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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:20.04) | < 3.4.0-2ubuntu1.1 | 3.4.0-2ubuntu1.1 |
| ubuntu/libarchive(Ubuntu:20.04) | = 3.4.0-1 | No fix listed |
| ubuntu/libarchive(Ubuntu:20.04) | = 3.4.0-1build1 | No fix listed |
| ubuntu/libarchive(Ubuntu:20.04) | = 3.4.0-1ubuntu2 | No fix listed |
| ubuntu/libarchive(Ubuntu:20.04) | = 3.4.0-2ubuntu1 | No fix listed |
References
- Debian Security Tracker CVE-2021-31566 vendor-advisory
- security.alpinelinux.org vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com patch third-party-advisory
- bugzilla.redhat.com issue-tracking patch third-party-advisory
- access.redhat.com third-party-advisory
- [debian-lts-announce] 20221122 [SECURITY] [DLA 3202-1] libarchive security update mailing-list third-party-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking
- ENISA EUVD EUVD-2021-18460 third-party-advisory