{"cve":"CVE-2021-3999","nvd":{"published":"2022-08-24T16:15:09.077","modified":"2026-10-14T10:17:50.007","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-193"],"references":["https://access.redhat.com/security/cve/CVE-2021-3999","https://bugzilla.redhat.com/show_bug.cgi?id=2024637","https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html","https://security-tracker.debian.org/tracker/CVE-2021-3999","https://security.netapp.com/advisory/ntap-20221104-0001/"],"products":["debian:debian_linux","gnu:glibc","netapp:e-series_performance_analyzer","netapp:h300s_firmware","netapp:h410c_firmware","netapp:h410s_firmware","netapp:h500s_firmware","netapp:h700s_firmware","netapp:nfs_plug-in","netapp:ontap_select_deploy_administration_utility"],"source":"nvd","synced_at":"2026-10-19T21:34:18.502168378+00:00"},"epss":{"cve":"CVE-2021-3999","score":0.00809,"percentile":0.56608,"date":"2026-10-25"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}