Name | CVE-2021-31870 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2695-1 |
Debian Bugs | 989505 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
klibc (PTS) | jessie | 2.0.4-2 | vulnerable |
| stretch (security), stretch (lts), stretch | 2.0.4-9+deb9u1 | fixed |
| buster | 2.0.6-1+deb10u1 | fixed |
| bullseye | 2.0.8-6.1 | fixed |
| bookworm | 2.0.12-1 | fixed |
| sid, trixie | 2.0.13-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
klibc | source | stretch | 2.0.4-9+deb9u1 | | DLA-2695-1 | |
klibc | source | buster | 2.0.6-1+deb10u1 | | | |
klibc | source | (unstable) | 2.0.8-6 | | | 989505 |
Notes
https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=292650f04c2b5348b4efbad61fb014ed09b4f3f2
https://www.openwall.com/lists/oss-security/2021/04/30/1
[jessie] - klibc <no-dsa> (Minor issue; only used in initramfs and not dealing with untrusted data)