UBUNTU-CVE-2021-3999

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-3999

    UBUNTU-CVE-2021-3999

    Published: 1 Feb 2022Last Modified: 22 Apr 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: eglibc

    Purl: pkg:deb/ubuntu/[email protected]+esm3?arch=source&distro=trusty/esm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.19-0ubuntu6.15+esm3

    Affected versions

    2.17-93ubuntu4

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-3999 | CVE-DB