VDB

ALPINE-CVE-2021-31566

ALPINE-CVE-2021-31566 PUBLISHED CVSS 7.800000190734863 HIGH

Record from OSV · 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
libarchiveAlpine:v3.133.5.3-r0
libarchiveAlpine:v3.143.5.3-r0

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
Alpine:v3.13libarchive3.4.3-r0, 2.8.4-r0, 2.8.4-r1
Alpine:v3.14libarchive0, 2.8.4-r0, 2.8.4-r1

Timeline

  • Aug 23, 2022 CVE Published
  • Jun 15, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln ALPINE-CVE-2021-31566
vulnetix vdb fixes ALPINE-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/ALPINE-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 ›