CVE-2021-31870

NameCVE-2021-31870
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2695-1
NVD severityhigh
Debian Bugs989505

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
klibc (PTS)stretch2.0.4-9vulnerable
stretch (security)2.0.4-9+deb9u1fixed
buster2.0.6-1+deb10u1fixed
bookworm, sid, bullseye2.0.8-6.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
klibcsourcestretch2.0.4-9+deb9u1DLA-2695-1
klibcsourcebuster2.0.6-1+deb10u1
klibcsource(unstable)2.0.8-6989505

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

Search for package or bug name: Reporting problems