CVSS 3.1
7.8 highCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HHigh (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExplain CVE-2021-31566 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-31566?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-31566?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-31566 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| libarchive:libarchive | before 3.5.2 |
| fedoraproject:fedora | 35 |
| redhat:enterprise_linux | 8.0 |
| redhat:enterprise_linux_eus | 8.6 |
| redhat:enterprise_linux_for_ibm_z_systems | 8.0 |
| redhat:enterprise_linux_for_ibm_z_systems_eus | 8.6 |
| redhat:enterprise_linux_for_power_little_endian | 8.0 |
| redhat:enterprise_linux_for_power_little_endian_eus | 8.6 |
| redhat:enterprise_linux_server_aus | 8.6 |
| redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions | 8.6 |
| redhat:enterprise_linux_server_tus | 8.6 |
| debian:debian_linux | 10.0 |
| splunk:universal_forwarder | from 8.2.0 before 8.2.12 |
| splunk:universal_forwarder | from 9.0.0 before 9.0.6 |
| splunk:universal_forwarder | 9.1.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | libarchive | 3.2.2-2+deb9u3 | DLA-2987-1 |
| Debian | 10 | libarchive | 3.3.3-4+deb10u2 | DLA-3202-1 |
| Debian | 12, 13, 14 | libarchive | 3.5.2-1 | DEBIAN-CVE-2021-31566 |
| Ubuntu | 20.04:LTS | libarchive | 3.4.0-2ubuntu1.1 | UBUNTU-CVE-2021-31566 USN-5291-1 |
| Ubuntu | Pro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS | libarchive | no fix listed | UBUNTU-CVE-2021-31566 |
| Red Hat | enterprise_linux:8::baseos | bsdtar, libarchive, bsdcat-debuginfo and 4 more | 0:3.3.3-3.el8_5 | RHSA-2022:0892 |
| Red Hat | enterprise_linux:8::crb | bsdcat-debuginfo, bsdtar-debuginfo, libarchive-devel and 3 more | 0:3.3.3-3.el8_5 | RHSA-2022:0892 |
| SUSE | Linux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Development Tools 15 SP4 | libarchive | 3.5.1-150400.3.9.1 | SUSE-SU-2022:3936-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Development Tools 15 SP3 | libarchive | 3.4.2-150200.4.12.1 | SUSE-SU-2022:3935-1 |
| openSUSE | Leap 15.3 | libarchive | 3.4.2-150200.4.12.1 | SUSE-SU-2022:3935-1 |
| openSUSE | Leap 15.4 | libarchive | 3.5.1-150400.3.9.1 | SUSE-SU-2022:3936-1 |
| openSUSE | Tumbleweed | bsdtar | 3.6.0-1.1 | openSUSE-SU-2024:11894-1 |
| AlmaLinux | 8 | bsdtar, libarchive, libarchive-devel | 3.3.3-3.el8_5 | ALSA-2022:0892 |
| Rocky Linux | 8 | libarchive | 0:3.3.3-3.el8_5 | RLSA-2022:0892 |
| Alpine | v3.13, v3.14 | libarchive | 3.5.3-r0 | ALPINE-CVE-2021-31566 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libarchive-0:3.3.3-3.el8_5 | Fixed 2022-03-15 | RHSA-2022:0892 |
| Red Hat Enterprise Linux 6 | libarchive | Out of support scope | |
| Red Hat Enterprise Linux 7 | libarchive | Out of support scope | |
| Red Hat Enterprise Linux 9 | libarchive | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-31566.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.