Vulnerabilities > CVE-2021-3999 - Off-by-one Error vulnerability in multiple products

047910
CVSS 7.8 - HIGH
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
LOW
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
local
low complexity
gnu
debian
netapp
CWE-193

Summary

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.

Vulnerable Configurations

Part Description Count
Application
Gnu
129
Application
Netapp
3
OS
Debian
2
OS
Netapp
5
Hardware
Netapp
5

Common Weakness Enumeration (CWE)