CVE-2021-3999
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.
Published:Jan 11, 2022
Last Modified:Dec 2, 2025
EPS:Aug 24, 2022
EPSS Score:0.01019
CVSS Score:7.8
Affected Products
Vendor
Product
Action
Vendor
Debian
Product
Debian Linux
Debian
Debian Linux
Vendor
Gnu
Product
Glibc
Gnu
Glibc
Vendor
Netapp
Product
E-series Performance Analyzer
Netapp
E-series Performance Analyzer
Vendor
Netapp
Product
H300s
Netapp
H300s
Vendor
Netapp
Product
H300s Firmware
Netapp
H300s Firmware
Vendor
Netapp
Product
H410c
Netapp
H410c
Vendor
Netapp
Product
H410c Firmware
Netapp
H410c Firmware
Vendor
Netapp
Product
H410s
Netapp
H410s
Vendor
Netapp
Product
H410s Firmware
Netapp
H410s Firmware
Vendor
Netapp
Product
H500s
Netapp
H500s
Vendor
Netapp
Product
H500s Firmware
Netapp
H500s Firmware
Vendor
Netapp
Product
H700s
Netapp
H700s
Vendor
Netapp
Product
H700s Firmware
Netapp
H700s Firmware
Vendor
Netapp
Product
Nfs Plug-in
Netapp
Nfs Plug-in
Vendor
Netapp
Product
Ontap Select Deploy Administration Utility
Netapp
Ontap Select Deploy Administration Utility
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
No CAPEC recorded yet
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
