CVEfocus › CVE database › CVE-2021-31872

CVE-2021-31872

CVSS 9.8 CriticalEPSS 2.1% (higher than 82% of CVEs)Published 2021-04-30Updated 2024-08-03Assigner: mitre

An issue was discovered in klibc before 2.0.9. Multiple possible integer overflows in the cpio command on 32-bit systems may result in a buffer overflow or other security impact.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
2Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04klibcNot affected
vulnerable_code_not_present
Ubuntu 20.04klibcFixed2.0.7-1ubuntu5.1UBUNTU-CVE-2021-31872
Ubuntu 18.04klibcFixed2.0.4-9ubuntu2.1UBUNTU-CVE-2021-31872
Ubuntu 16.04klibcFix pending2.0.4-8ubuntu1.16.04.4+esm1 (Ubuntu Pro)UBUNTU-CVE-2021-31872
Ubuntu 14.04klibcFix pending2.0.3-0ubuntu1.14.04.3+esm2 (Ubuntu Pro)UBUNTU-CVE-2021-31872
Debian 14klibcFixed2.0.8-6DEBIAN-CVE-2021-31872
Debian 13klibcFixed2.0.8-6DEBIAN-CVE-2021-31872
Debian 12klibcFixed2.0.8-6DEBIAN-CVE-2021-31872
Alpine Linux 3.24klibcFixed2.0.9-r0ALPINE-CVE-2021-31872
Alpine Linux 3.23klibcFixed2.0.9-r0ALPINE-CVE-2021-31872
Alpine Linux 3.22klibcFixed2.0.9-r0ALPINE-CVE-2021-31872
Alpine Linux 3.21klibcFixed2.0.9-r0ALPINE-CVE-2021-31872
Alpine Linux 3.20klibcFixed2.0.9-r0ALPINE-CVE-2021-31872
Alpine Linux 3.19klibcFixed2.0.9-r0ALPINE-CVE-2021-31872

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.