CVE-2021-3999: Debian Linux
High severity, CVSS 7.8. EPSS: 0.7% chance of exploitation in the next 30 days.
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.
Affected products
- Debian Debian Linux: version 10.0 only; version 11.0 only
- GNU Glibc: before 2.31 (fixed in 2.31)
- Netapp E-Series Performance Analyzer: affected versions not specified
- Netapp h300s Firmware: affected versions not specified
- Netapp h410c Firmware: affected versions not specified
- Netapp h410s Firmware: affected versions not specified
- Netapp h500s Firmware: affected versions not specified
- Netapp h700s Firmware: affected versions not specified
- Netapp Nfs Plug-In: any version
- Netapp Ontap Select Deploy Administration Utility: affected versions not specified
Published 2022-08-24. Last modified 2026-06-17.