Skip to main content
← All vulnerabilities
CVE-2021-3999

A flaw was found in glibc.

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n/a glibc

    Fixed in glibc v2.31 and above.

References 8

openwall.com

sourceware.org

bugzilla.redhat.com

access.redhat.com

security-tracker.debian.org

lists.debian.org

security.netapp.com