CVE-2021-31870
CRITICALCVSS 9.8/10EPSS 2.06%
Last modified
CVE-2021-31870 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 2.06% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Klibc Project | Klibc | < 2.0.9 |
| Debian | Debian Linux | 9.0 |
References
- http://www.openwall.com/lists/oss-security/2021/04/30/1Mailing List, Release Notes, Third Party Advisory
- https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=292650f04c2b5348b4efbad61fb014ed09b4f3f2Patch, Third Party Advisory
- https://kernel.org/pub/linux/libs/klibc/2.0/Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/06/msg00025.htmlMailing List, Third Party Advisory
- https://lists.zytor.com/archives/klibc/2021-April/004593.htmlMailing List, Release Notes, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2021/04/30/1Mailing List, Release Notes, Third Party Advisory
- https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=292650f04c2b5348b4efbad61fb014ed09b4f3f2Patch, Third Party Advisory
- https://kernel.org/pub/linux/libs/klibc/2.0/Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/06/msg00025.htmlMailing List, Third Party Advisory
- https://lists.zytor.com/archives/klibc/2021-April/004593.htmlMailing List, Release Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2021-31870?
CVE-2021-31870 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 2.06% probability of exploitation in the next 30 days.
How do I fix CVE-2021-31870?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-31865Redmine before 4.0.9, 4.1.x before 4.1.3, and 4.2.x before 4…5.3
- CVE-2021-31866Redmine before 4.0.9 and 4.1.x before 4.1.3 allows an attack…5.3
- CVE-2021-31867Pimcore Customer Data Framework version 3.0.0 and earlier su…7.5
- CVE-2021-31868Rapid7 Nexpose version 6.6.95 and earlier allows authenticat…5.4
- CVE-2021-31869Pimcore AdminBundle version 6.8.0 and earlier suffers from a…7.5
- CVE-2021-3187An issue was discovered in BeyondTrust Privilege Management …8.8
- CVE-2021-31871An issue was discovered in klibc before 2.0.9. An integer ov…7.5
- CVE-2021-31872An issue was discovered in klibc before 2.0.9. Multiple poss…9.8
- CVE-2021-31873An issue was discovered in klibc before 2.0.9. Additions in …9.8
- CVE-2021-31874Zoho ManageEngine ADSelfService Plus before 6104, in rare si…5.9
- CVE-2021-31875In mjs_json.c in Cesanta MongooseOS mJS 1.26, a maliciously …9.8
- CVE-2021-31876Bitcoin Core 0.12.0 through 0.21.1 does not properly impleme…6.5
Are you affected by CVE-2021-31870?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
