CVE-2021-4002
Last modified
CVE-2021-4002 is a medium-severity vulnerability rated 4.4/10 on the CVSS scale. A memory leak flaw in the Linux kernel's hugetlbfs memory usage was found in the way the user maps some regions of memory twice using shmget() which are aligned to PUD alignment with the fault of some of the memory pages. A local user could use this flaw to get unauthorized access to some data.. EPSS estimates a 0.52% chance of exploitation in the next 30 days.
Description
A memory leak flaw in the Linux kernel's hugetlbfs memory usage was found in the way the user maps some regions of memory twice using shmget() which are aligned to PUD alignment with the fault of some of the memory pages. A local user could use this flaw to get unauthorized access to some data.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | < 5.16 |
| Linux | Linux Kernel | 5.16 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Fedoraproject | Fedora | 35 |
| Oracle | Communications Cloud Native Core Binding Support Function | 22.1.3 |
| Oracle | Communications Cloud Native Core Network Exposure Function | 22.1.1 |
| Oracle | Communications Cloud Native Core Policy | 22.2.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2025726Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00011.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5096Third Party Advisory
- https://www.openwall.com/lists/oss-security/2021/11/25/1Exploit, Mailing List, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2025726Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00011.htmlMailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00012.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5096Third Party Advisory
- https://www.openwall.com/lists/oss-security/2021/11/25/1Exploit, Mailing List, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujul2022.htmlPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-4002?
How severe is CVE-2021-4002?
How do I fix CVE-2021-4002?
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-40014The bone voice ID trusted application (TA) has a heap overfl…7.5
- CVE-2021-40015There is a race condition vulnerability in the binder driver…4.7
- CVE-2021-40016Improper permission control vulnerability in the Bluetooth m…6.5
- CVE-2021-40017The HW_KEYMASTER module lacks the validity check of the key …9.8
- CVE-2021-40018The eID module has a null pointer reference vulnerability. S…7.5
- CVE-2021-40019Out-of-bounds heap read vulnerability in the HW_KEYMASTER mo…9.1
- CVE-2021-40020There is an Out-of-bounds array read vulnerability in the se…7.5
- CVE-2021-40021The eID module has an out-of-bounds memory write vulnerabili…7.5
- CVE-2021-40022The weaver module has a vulnerability in parameter type veri…7.5
- CVE-2021-40023Configuration defects in the secure OS module. Successful ex…7.5
- CVE-2021-40024Implementation of the WLAN module interfaces has the informa…7.5
- CVE-2021-40025The eID module has a vulnerability that causes the memory to…7.5
Are you affected by CVE-2021-4002?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
