VDB

CVE-2021-31566

CVE-2021-31566 PUBLISHED CVSS 7.800000190734863 HIGH

Reported by redhat · Published August 23, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libarchiveconan.io3.5.2
universal_forwardersplunk9.0.6, 8.2.12

Risk scores

CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/alibarchiveFixed in libarchive 3.5.2
ConanCenterlibarchive0
n/alibarchive3.5.2
amazon:2023libarchive-devel0
amazon:2libarchive0
amazon:2bsdtar0
amazon:2023bsdtar0
amazon:2023libarchive0
alpinelibarchive0
amazon:2023bsdcpio0
amazon:2023bsdcat0
amazon:2libarchive-devel0
amazon:2bsdcpio0

Timeline

  • Dec 24, 2021 CVE Published
  • Aug 24, 2022 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 7, 2026 Distribution Patch (6 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (9 in total, the first dated here)
  • Aug 2, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-31566
vulnetix vdb fixes CVE-2021-31566

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-31566/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›