Integer Overflow or Wraparound Affecting klibc package, versions <2.0.7-1ubuntu5.1
Threat Intelligence
EPSS
0.2% (59th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UBUNTU2004-KLIBC-1278702
- published 29 Jan 2022
- disclosed 30 Apr 2021
Introduced: 30 Apr 2021
CVE-2021-31871 Open this link in a new tabHow to fix?
Upgrade Ubuntu:20.04 klibc to version 2.0.7-1ubuntu5.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream klibc package and not the klibc package as distributed by Ubuntu.
See How to fix? for Ubuntu:20.04 relevant fixed versions and status.
An issue was discovered in klibc before 2.0.9. An integer overflow in the cpio command may result in a NULL pointer dereference on 64-bit systems.
References
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2021-31871
- https://git.kernel.org/pub/scm/libs/klibc/klibc.git/commit/?id=2e48a12ab1e30d43498c2d53e878a11a1b5102d5
- https://kernel.org/pub/linux/libs/klibc/2.0/
- https://lists.zytor.com/archives/klibc/2021-April/004593.html
- https://lists.debian.org/debian-lts-announce/2021/06/msg00025.html
- http://www.openwall.com/lists/oss-security/2021/04/30/1
CVSS Scores
version 3.1