CVE-2021-31870: debian debian_linux Integer Overflow or Wraparound
CVSS: 9.8v3.1CriticalModified
AliasesUBUNTU-CVE-2021-31870DEBIAN-CVE-2021-31870
Published 30-04-2021Last modified 03-08-2024
Vulnerability summary
CVE-2021-31870 is a critical (CVSS 9.8) Integer Overflow or Wraparound vulnerability in debian debian_linux. EPSS estimates a 2.08% chance of exploitation in the next 30 days, higher than 81.1% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
2.08%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 2 · Related 1Timeline
- 30-04-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
2.08%
Chance of exploitation in the next 30 days
Percentile
81%
Versus all other CVEs
30-day change
0.00 pp
From 2.08% on 19-09-2026
19-09-202619-10-2026
EPSS score2.08%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- klibc< 2.0.8-6
- debian_linuxEOL9.0
Klibc_project1 product
- klibc< 2.0.9
Ubuntu1 product
- klibc< 2.0.3-0ubuntu1.14.04.3+esm2 | < 2.0.4-8ubuntu1.16.04.4+esm1 | < 2.0.4-9ubuntu2.1 | < 2.0.7-1ubuntu5.1
3 vendors · 4 products
References
9 links- git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=292650f04c2b5348b4efbad61fb014ed09b4f3f2X Refsource MISCPatchThird Party Advisory
- lists.zytor.com/archives/klibc/2021-April/004593.htmlX Refsource MISCREPORTMailing ListRelease NotesThird Party Advisory
- www.openwall.com/lists/oss-security/2021/04/30/1Mailing ListX Refsource MLISTRelease NotesThird Party Advisory
- lists.debian.org/debian-lts-announce/2021/06/msg00025.htmlMailing ListX Refsource MLISTThird Party Advisory