CVE-2021-3999CWE-193

CVE-2021-3999

High · published August 24, 2022

CVSS v3.1
7.8
EPSS
1%
Percentile
56.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00809 · 56.5th percentile
Weakness
CWE-193 · Off-by-one Error
Published
2022-08-24T20:15Z
Affected products (12)
ProductVersionsFixed in
gnu/glibc< 2.312.31
debian/debian_linuxall versions—
debian/debian_linuxall versions—
debian/debian_linuxall versions—
netapp/e-series_performance_analyzerall versions—
netapp/nfs_plug-inall versions—
netapp/ontap_select_deploy_administration_utilityall versions—
netapp/h300s_firmwareall versions—
netapp/h500s_firmwareall versions—
netapp/h700s_firmwareall versions—
netapp/h410s_firmwareall versions—
netapp/h410c_firmwareall versions—
References (18)
https://access.redhat.com/security/cve/CVE-2021-3999 · [email protected]https://bugzilla.redhat.com/show_bug.cgi?id=2024637 · [email protected]https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html · [email protected]https://security-tracker.debian.org/tracker/CVE-2021-3999 · [email protected]https://security.netapp.com/advisory/ntap-20221104-0001/ · [email protected]https://sourceware.org/bugzilla/show_bug.cgi?id=28769 · [email protected]https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e · [email protected]https://www.openwall.com/lists/oss-security/2022/01/24/4 · [email protected]https://access.redhat.com/security/cve/CVE-2021-3999 · af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=2024637 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2022/10/msg00021.html · af854a3a-2127-422b-91ae-364da2661108https://security-tracker.debian.org/tracker/CVE-2021-3999 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20221104-0001/ · af854a3a-2127-422b-91ae-364da2661108https://sourceware.org/bugzilla/show_bug.cgi?id=28769 · af854a3a-2127-422b-91ae-364da2661108https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=23e0e8f5f1fb5ed150253d986ecccdc90c2dcd5e · af854a3a-2127-422b-91ae-364da2661108https://www.openwall.com/lists/oss-security/2022/01/24/4 · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-831302.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 24 AUG 00:00Z
    A flaw was found in glibc
    cvelistv5