CVE-2021-3999
Last modified
CVE-2021-3999 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. A flaw was found in glibc. An off-by-one buffer overflow and underflow in getcwd() may lead to memory corruption when the size of the buffer is exactly 1. EPSS estimates a 0.73% chance of exploitation in the next 30 days.
Description
A flaw was found in glibc. An off-by-one buffer overflow and underflow in getcwd() may lead to memory corruption when the size of the buffer is exactly 1. A local attacker who can control the input buffer and size passed to getcwd() in a setuid program could use this flaw to potentially execute arbitrary code and escalate their privileges on the system.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Glibc | < 2.31 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
| Netapp | E-Series Performance Analyzer | All versions |
| Netapp | Nfs Plug-In | All versions |
| Netapp | Ontap Select Deploy Administration Utility | All versions |
| Netapp | H300s Firmware | All versions |
| Netapp | H500s Firmware | All versions |
| Netapp | H700s Firmware | All versions |
| Netapp | H410s Firmware | All versions |
| Netapp | H410c Firmware | All versions |
References
- https://access.redhat.com/security/cve/CVE-2021-3999Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024637Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00021.htmlMailing List, Third Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2021-3999Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221104-0001/Third Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=28769Issue Tracking, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/01/24/4Exploit, Mailing List, Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-3999Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024637Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00021.htmlMailing List, Third Party Advisory
- https://security-tracker.debian.org/tracker/CVE-2021-3999Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221104-0001/Third Party Advisory
- https://sourceware.org/bugzilla/show_bug.cgi?id=28769Issue Tracking, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/01/24/4Exploit, Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3999?
How severe is CVE-2021-3999?
How do I fix CVE-2021-3999?
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-39984Huawei idap module has a Out-of-bounds Read vulnerability.Su…7.5
- CVE-2021-39985The HwNearbyMain module has a Improper Validation of Array I…7.5
- CVE-2021-39986There is an unauthorized rewriting vulnerability with the me…5.5
- CVE-2021-39987The HwNearbyMain module has a Data Processing Errors vulnera…7.5
- CVE-2021-39988The HwNearbyMain module has a NULL Pointer Dereference vulne…7.5
- CVE-2021-39989The HwNearbyMain module has a Exposure of Sensitive Informat…7.5
- CVE-2021-39990The screen lock module has a Stack-based Buffer Overflow vul…9.8
- CVE-2021-39991There is an unauthorized rewriting vulnerability with the me…5.5
- CVE-2021-39992There is an improper security permission configuration vulne…7.8
- CVE-2021-39993There is an Integer overflow vulnerability with ACPU in smar…9.8
- CVE-2021-39994There is an arbitrary address access vulnerability with the …9.8
- CVE-2021-39995Some Huawei products use the OpenHpi software for hardware m…6.5
Are you affected by CVE-2021-3999?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
