Search for vulnerabilities
Vulnerability details: VCID-cd84-3gsn-fyah
Vulnerability ID VCID-cd84-3gsn-fyah
Aliases CVE-2021-3999
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 8.0
Risk 4.0
Affected and Fixed Packages Package Details
Weaknesses (1)
System Score Found at
cvssv3 7.4 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3999.json
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
epss 0.0102 https://api.first.org/data/v1/epss?cve=CVE-2021-3999
cvssv3.1 7.4 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1 7.8 https://nvd.nist.gov/vuln/detail/CVE-2021-3999
archlinux High https://security.archlinux.org/AVG-1621
Reference id Reference type URL
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3999.json
https://access.redhat.com/security/cve/CVE-2021-3999
https://api.first.org/data/v1/epss?cve=CVE-2021-3999
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3999
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://security.netapp.com/advisory/ntap-20221104-0001/
https://security-tracker.debian.org/tracker/CVE-2021-3999
https://sourceware.org/bugzilla/show_bug.cgi?id=28769
https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e
2024637 https://bugzilla.redhat.com/show_bug.cgi?id=2024637
AVG-1621 https://security.archlinux.org/AVG-1621
cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:gnu:glibc:*:*:*:*:*:*:*:*
cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:nfs_plug-in:*:*:*:*:*:vmware_vaai:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:netapp:nfs_plug-in:*:*:*:*:*:vmware_vaai:*:*
cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
CVE-2021-3999 https://nvd.nist.gov/vuln/detail/CVE-2021-3999
RHSA-2022:0896 https://access.redhat.com/errata/RHSA-2022:0896
USN-5310-1 https://usn.ubuntu.com/5310-1/
USN-5310-2 https://usn.ubuntu.com/5310-2/
USN-6762-1 https://usn.ubuntu.com/6762-1/
No exploits are available.
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3999.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2021-3999
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.7631
EPSS Score 0.0102
Published At July 30, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:36:58.762083+00:00 Ubuntu USN Importer Import https://usn.ubuntu.com/5310-2/ 37.0.0