Integer overflow in Klibc Project
CVE-2021-31870
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.021, 81.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Klibc Project
- Debian Linux — versions 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- kernel.org/pub/linux/libs/klibc/2.0/ (Third Party Advisory, Release Notes)
- git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/ (Patch, Third Party Advisory)
- lists.zytor.com/archives/klibc/2021-April/004593.html (Mailing List, Third Party Advisory, Release Notes)
- [oss-security] 20210430 [ANNOUNCE] klibc 2.0.9 (mailing-list, Mailing List, Third Party Advisory, Release Notes)
- [debian-lts-announce] 20210628 [SECURITY] [DLA 2695-1] klibc security update (mailing-list, Mailing List, Third Party Advisory)