VDB

CISA-2021-3999

CISA-2021-3999 PUBLISHED CVSS 7.8 HIGH

Reported by redhat · Published August 24, 2022

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.

Risk Scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
n/aglibcFixed in glibc v2.31 and above.
n/aglibcFixed in glibc v2.31 and above., Fixed in glibc v2.31 and above.

Timeline

  • Aug 24, 2022 CVE Published
  • Dec 2, 2025 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›