Vulnerability in GNU Glibc
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 · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.008, 57.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cvemon, flexiondotorg/CNCF-02, maxim12z/ECommerce, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.openwall.com/lists/oss-security/2022/01/24/4 (Exploit, Mailing List, Third Party Advisory)
- sourceware.org/bugzilla/show_bug.cgi (Third Party Advisory, Issue Tracking)
- sourceware.org/git/gitweb.cgi
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- access.redhat.com/security/cve/CVE-2021-3999 (Third Party Advisory)
- security-tracker.debian.org/tracker/CVE-2021-3999 (Third Party Advisory)
- [debian-lts-announce] 20221017 [SECURITY] [DLA 3152-1] glibc security update (mailing-list, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20221104-0001/ (Third Party Advisory)
- cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com/productcert/html/ssa-831302.html