HIGH · 7.8

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 bu...

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

7.8

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
GnuGlibc< 2.31
DebianDebian Linux10.0
NetappE-Series Performance Analyzer-
NetappNfs Plug-InAll versions
NetappOntap Select Deploy Administration Utility-
NetappH300S Firmware-
NetappH300S-
NetappH500S Firmware-
NetappH500S-
NetappH700S Firmware-
NetappH700S-
NetappH410S Firmware-
NetappH410S-
NetappH410C Firmware-
NetappH410C-

Related Weaknesses (CWE)

References

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.