Vulnerability Details : 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.
Vulnerability category: OverflowMemory CorruptionExecute code
Products affected by CVE-2021-3999
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
- cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:nfs_plug-in:*:*:*:*:*:vmware_vaai:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3999
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 6 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3999
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST |
CWE ids for CVE-2021-3999
-
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.Assigned by:
- nvd@nist.gov (Secondary)
- secalert@redhat.com (Primary)
References for CVE-2021-3999
-
https://bugzilla.redhat.com/show_bug.cgi?id=2024637
2024637 – (CVE-2021-3999) CVE-2021-3999 glibc: Off-by-one buffer overflow/underflow in getcwd()Issue Tracking;Third Party Advisory
-
https://security.netapp.com/advisory/ntap-20221104-0001/
CVE-2021-3999 GNU C Library (glibc) Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://www.openwall.com/lists/oss-security/2022/01/24/4
oss-security - CVE-2021-3998 and CVE-2021-3999 in glibc's realpath() and getcwd()Exploit;Mailing List;Third Party Advisory
-
https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e
sourceware.org Git
-
https://access.redhat.com/security/cve/CVE-2021-3999
CVE-2021-3999- Red Hat Customer PortalThird Party Advisory
-
https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html
[SECURITY] [DLA 3152-1] glibc security updateMailing List;Third Party Advisory
-
https://security-tracker.debian.org/tracker/CVE-2021-3999
CVE-2021-3999Third Party Advisory
-
https://sourceware.org/bugzilla/show_bug.cgi?id=28769
28769 – (CVE-2021-3999) Off-by-one buffer overflow/underflow in getcwd() (CVE-2021-3999)Issue Tracking;Third Party Advisory
Jump to