Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Glibc | < 2.31 |
| Debian | Debian Linux | 10.0 |
| Netapp | E-Series Performance Analyzer | - |
| Netapp | Nfs Plug-In | All versions |
| Netapp | Ontap Select Deploy Administration Utility | - |
| Netapp | H300S Firmware | - |
| Netapp | H300S | - |
| Netapp | H500S Firmware | - |
| Netapp | H500S | - |
| Netapp | H700S Firmware | - |
| Netapp | H700S | - |
| Netapp | H410S Firmware | - |
| Netapp | H410S | - |
| Netapp | H410C Firmware | - |
| Netapp | H410C | - |
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2021-3999Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024637Issue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00021.htmlMailing ListThird 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 TrackingThird Party Advisory
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986e
- https://www.openwall.com/lists/oss-security/2022/01/24/4ExploitMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-3999Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2024637Issue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00021.htmlMailing ListThird 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 TrackingThird Party Advisory
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986e
FAQ
What is CVE-2021-3999?
CVE-2021-3999 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 bu...
How severe is CVE-2021-3999?
CVE-2021-3999 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-3999?
Check the references section above for vendor advisories and patch information. Affected products include: Gnu Glibc, Debian Debian Linux, Netapp E-Series Performance Analyzer, Netapp Nfs Plug-In, Netapp Ontap Select Deploy Administration Utility.