DEBIAN-CVE-2021-3999

    Dashboard / Vulnerabilities / DEBIAN-CVE-2021-3999

    DEBIAN-CVE-2021-3999

    Published: 24 Aug 2022Last Modified: 1 Sept 2026
    Upstream:

    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: glibc

    Purl: pkg:deb/debian/glibc?arch=source&distro=bookworm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.33-4

    Affected versions

    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
    DEBIAN-CVE-2021-3999 | CVE-DB