Vulnerability · Published Apr 30, 2021 · Assigned by mitre
CVE-2021-31871
High 7.5
In plain English
A high-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 1.9% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)1.9%top 20.5% 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. An integer overflow in the cpio command may result in a NULL pointer dereference on 64-bit systems.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | klibc | 2.0.9-r0 | ALPINE-CVE-2021-31871 |
| Alpine:v3.21 | klibc | 2.0.9-r0 | ALPINE-CVE-2021-31871 |
| Alpine:v3.22 | klibc | 2.0.9-r0 | ALPINE-CVE-2021-31871 |
| Alpine:v3.23 | klibc | 2.0.9-r0 | ALPINE-CVE-2021-31871 |
| Alpine:v3.24 | klibc | 2.0.9-r0 | ALPINE-CVE-2021-31871 |
| Debian:12 | klibc | 2.0.8-6 | DEBIAN-CVE-2021-31871 |
| Debian:13 | klibc | 2.0.8-6 | DEBIAN-CVE-2021-31871 |
| Debian:14 | klibc | 2.0.8-6 | DEBIAN-CVE-2021-31871 |
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=2e48a12ab1e30d43498c2d53e878a11a1b5102d5 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