Skip to content
Heist/ feed
Unrated

CVE-2021-3999

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2021-3999

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2021-3999

glibc

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "n/a",
    "product": "glibc",
    "versions": [
      {
        "status": "affected",
        "version": "Fixed in glibc v2.31 and above."
      }
    ]
  }
]
Related CVEs
CVE-2021-3999

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#21643 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement