Vulnerability · Published Apr 30, 2021 · Assigned by mitre
CVE-2021-31872
Critical 9.8
In plain English
A critical-severity security flaw in the klibc package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.1%top 18.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | klibc | 2.0.9-r0 | ALPINE-CVE-2021-31872 |
| Alpine:v3.21 | klibc | 2.0.9-r0 | ALPINE-CVE-2021-31872 |
| Alpine:v3.22 | klibc | 2.0.9-r0 | ALPINE-CVE-2021-31872 |
| Alpine:v3.23 | klibc | 2.0.9-r0 | ALPINE-CVE-2021-31872 |
| Alpine:v3.24 | klibc | 2.0.9-r0 | ALPINE-CVE-2021-31872 |
| Debian:12 | klibc | 2.0.8-6 | DEBIAN-CVE-2021-31872 |
| Debian:13 | klibc | 2.0.8-6 | DEBIAN-CVE-2021-31872 |
| Debian:14 | klibc | 2.0.8-6 | DEBIAN-CVE-2021-31872 |
Affected products (as reported)
References
- https://kernel.org/pub/linux/libs/klibc/2.0/ x_refsource_MISC
- https://lists.zytor.com/archives/klibc/2021-April/004593.html x_refsource_MISC
- https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=9b1c91577aef7f2e72c3aa11a27749160bd278ff x_refsource_MISC
- [oss-security] 20210430 [ANNOUNCE] klibc 2.0.9 mailing-list, x_refsource_MLIST
- [debian-lts-announce] 20210628 [SECURITY] [DLA 2695-1] klibc security update mailing-list, x_refsource_MLIST