CVE-2021-31870
published 2021-04-30CVE-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.
PriorityP344critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
2.06%
78.9th percentile
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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | klibc | < klibc 2.0.8-6 (bookworm) | klibc 2.0.8-6 (bookworm) |
| klibc_project | klibc | < 2.0.9 | 2.0.9 |
| klibc_project | klibc | >= 0 < 2.0.8-6 | 2.0.8-6 |
| klibc_project | klibc | >= 0 < 2.0.8-6 | 2.0.8-6 |
| klibc_project | klibc | >= 0 < 2.0.8-6 | 2.0.8-6 |
| klibc_project | klibc | >= 0 < 2.0.8-6 | 2.0.8-6 |
| klibc_project | klibc | >= 0 < 2.0.4-9ubuntu2.1 | 2.0.4-9ubuntu2.1 |
| klibc_project | klibc | >= 0 < 2.0.7-1ubuntu5.1 | 2.0.7-1ubuntu5.1 |
| klibc_project | klibc | >= 0 < 2.0.3-0ubuntu1.14.04.3+esm2 | 2.0.3-0ubuntu1.14.04.3+esm2 |
| klibc_project | klibc | >= 0 < 2.0.4-8ubuntu1.16.04.4+esm1 | 2.0.4-8ubuntu1.16.04.4+esm1 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_ubuntu9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-q5g5-fc84-93h4: An issue was discovered in klibc before 2
ghsa_unreviewed·2022-05-24
CVE-2021-31870 [CRITICAL] CWE-190 GHSA-q5g5-fc84-93h4: An issue was discovered in klibc before 2
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.
OSV
klibc vulnerabilities
osv·2022-04-18·CVSS 9.8
CVE-2021-31870 [CRITICAL] klibc vulnerabilities
klibc vulnerabilities
It was discovered that klibc did not properly perform
some mathematical operations, leading to an integer overflow.
An attacker could possibly use this issue to cause a crash,
resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2021-31870)
It was discovered that klibc did not properly handled some
memory allocations on 64 bit systems. An attacker could
possibly use this issue to cause a crash, resulting in a
denial of service, or possibly execute arbitrary code.
(CVE-2021-31871)
It was discovered that klibc did not properly handled some file
sizes values on 32 bit systems. An attacker could possibly use
this issue to cause a crash, resulting in a denial of service,
or possibly execute arbitrary code. (CVE-2021-31872)
It was discovered that k
OSV
CVE-2021-31870: An issue was discovered in klibc before 2
osv·2021-04-30·CVSS 9.8
CVE-2021-31870 [CRITICAL] CVE-2021-31870: An issue was discovered in klibc before 2
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.
Ubuntu
klibc vulnerabilities
vendor_ubuntu·2022-04-18·CVSS 9.8
CVE-2021-31870 [CRITICAL] klibc vulnerabilities
Title: klibc vulnerabilities
Summary: Several security issues were fixed in klibc.
It was discovered that klibc did not properly perform
some mathematical operations, leading to an integer overflow.
An attacker could possibly use this issue to cause a crash,
resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2021-31870)
It was discovered that klibc did not properly handled some
memory allocations on 64 bit systems. An attacker could
possibly use this issue to cause a crash, resulting in a
denial of service, or possibly execute arbitrary code.
(CVE-2021-31871)
It was discovered that klibc did not properly handled some file
sizes values on 32 bit systems. An attacker could possibly use
this issue to cause a crash, resulting in a denial of service,
or possibly exec
Debian
CVE-2021-31870: klibc - An issue was discovered in klibc before 2.0.9. Multiplication in the calloc() fu...
vendor_debian·2021·CVSS 9.8
CVE-2021-31870 [CRITICAL] CVE-2021-31870: klibc - An issue was discovered in klibc before 2.0.9. Multiplication in the calloc() fu...
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.
Scope: local
bookworm: resolved (fixed in 2.0.8-6)
bullseye: resolved (fixed in 2.0.8-6)
forky: resolved (fixed in 2.0.8-6)
sid: resolved (fixed in 2.0.8-6)
trixie: resolved (fixed in 2.0.8-6)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://www.openwall.com/lists/oss-security/2021/04/30/1https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=292650f04c2b5348b4efbad61fb014ed09b4f3f2https://kernel.org/pub/linux/libs/klibc/2.0/https://lists.debian.org/debian-lts-announce/2021/06/msg00025.htmlhttps://lists.zytor.com/archives/klibc/2021-April/004593.htmlhttp://www.openwall.com/lists/oss-security/2021/04/30/1https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=292650f04c2b5348b4efbad61fb014ed09b4f3f2https://kernel.org/pub/linux/libs/klibc/2.0/https://lists.debian.org/debian-lts-announce/2021/06/msg00025.htmlhttps://lists.zytor.com/archives/klibc/2021-April/004593.html
2021-04-30
Published