VDB

CVE-2021-31871

CVE-2021-31871 PUBLISHED

Reported by mitre · Published April 30, 2021

An issue was discovered in klibc before 2.0.9. An integer overflow in the cpio command may result in a NULL pointer dereference on 64-bit systems.

Fixed versions

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

PackageEcosystemFixed in
klibcAlpine2.0.9-r0
klibcUbuntu:Pro:16.04:LTS2.0.4-8ubuntu1.16.04.4+esm1
klibcUbuntu:Pro:14.04:LTS2.0.3-0ubuntu1.14.04.3+esm2
klibcklibc_project2.0.9
klibcUbuntu:20.04:LTS2.0.7-1ubuntu5.1

Affected products

VendorProductVersions
n/an/an/a
alpineklibc0
n/an/a*

Timeline

  • Apr 30, 2021 EPSS Score (30 in total, the first dated here)
  • Apr 30, 2021 CVE Published
  • Aug 3, 2024 CVE Updated
  • Mar 7, 2026 Distribution Patch
  • Mar 7, 2026 Security Advisory (2 in total, the first dated here)
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-31871
vulnetix vdb fixes CVE-2021-31871

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-31871/fixes/registry"

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

References

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