CVE-2021-3999
"GNU C Library (glibc) Buffer Overwrite 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.
INFO
Published Date :
Aug. 24, 2022, 4:15 p.m.
Last Modified :
Nov. 21, 2024, 6:23 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Public PoC/Exploit Available at Github
CVE-2021-3999 has a 4 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2021-3999
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-3999
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Roff Java
Correlate Security Findings between AWS Inspector, Elastic Container Registry (ECR) and Kubernetes
aws ecr eks inspector security vulnerabilities kubernetes
Go Smarty Dockerfile
CNCF Live: Complexity vs Size vs Security
Python Shell
None
Shell Dockerfile Go
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-3999
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-3999
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://access.redhat.com/security/cve/CVE-2021-3999 Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2024637 Added Reference https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html Added Reference https://security.netapp.com/advisory/ntap-20221104-0001/ Added Reference https://security-tracker.debian.org/tracker/CVE-2021-3999 Added Reference https://sourceware.org/bugzilla/show_bug.cgi?id=28769 Added Reference https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e Added Reference https://www.openwall.com/lists/oss-security/2022/01/24/4 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 12, 2023
Action Type Old Value New Value Removed CVSS V3.1 Red Hat, Inc. AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Removed Reference https://access.redhat.com/errata/RHSA-2022:0896 [No Types Assigned] Added CWE Red Hat, Inc. CWE-193 -
CVE Modified by [email protected]
Feb. 02, 2023
Action Type Old Value New Value Added CVSS V3.1 Red Hat, Inc. AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Removed Reference https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e [Mailing List, Patch, Third Party Advisory] Added Reference https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2022:0896 [No Types Assigned] Removed CWE Red Hat, Inc. CWE-193 -
Modified Analysis by [email protected]
Nov. 21, 2022
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html Mailing List, Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20221104-0001/ No Types Assigned https://security.netapp.com/advisory/ntap-20221104-0001/ Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:nfs_plug-in:*:*:*:*:*:vmware_vaai:*:* *cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h300s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h300s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h500s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h500s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h700s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h700s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h410s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h410s:-:*:*:*:*:*:*:* Added CPE Configuration AND OR *cpe:2.3:o:netapp:h410c_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:netapp:h410c:-:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Nov. 04, 2022
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20221104-0001/ [No Types Assigned] -
CVE Modified by [email protected]
Oct. 17, 2022
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html [No Types Assigned] -
Initial Analysis by [email protected]
Aug. 29, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://access.redhat.com/security/cve/CVE-2021-3999 No Types Assigned https://access.redhat.com/security/cve/CVE-2021-3999 Third Party Advisory Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2024637 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2024637 Issue Tracking, Third Party Advisory Changed Reference Type https://security-tracker.debian.org/tracker/CVE-2021-3999 No Types Assigned https://security-tracker.debian.org/tracker/CVE-2021-3999 Third Party Advisory Changed Reference Type https://sourceware.org/bugzilla/show_bug.cgi?id=28769 No Types Assigned https://sourceware.org/bugzilla/show_bug.cgi?id=28769 Issue Tracking, Third Party Advisory Changed Reference Type https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e No Types Assigned https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e Mailing List, Patch, Third Party Advisory Changed Reference Type https://www.openwall.com/lists/oss-security/2022/01/24/4 No Types Assigned https://www.openwall.com/lists/oss-security/2022/01/24/4 Exploit, Mailing List, Third Party Advisory Added CWE NIST CWE-193 Added CPE Configuration OR *cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* versions up to (excluding) 2.31 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-3999
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-3999
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.04 }} 0.00%
score
0.05635
percentile