VDB
CVE-2021-31870
CVE-2021-31870
PUBLISHED
Reported by mitre · Published April 30, 2021
An issue was discovered in klibc before 2.0.9. Multiplication in the calloc() function may result in an integer overflow and a subsequent heap buffer overflow.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| klibc | Alpine | 2.0.9-r0 |
| klibc | klibc_project | 2.0.9 |
| klibc | Ubuntu:Pro:16.04:LTS | 2.0.4-8ubuntu1.16.04.4+esm1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | klibc | 0 |
| n/a | n/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-31870
vulnetix vdb fixes CVE-2021-31870
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-31870/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- [oss-security] 20210430 [ANNOUNCE] klibc 2.0.9 mailing-listx_refsource_MLIST
- [debian-lts-announce] 20210628 [SECURITY] [DLA 2695-1] klibc security update mailing-listx_refsource_MLIST