vulnerability

Red Hat OpenShift: CVE-2021-3156: sudo: Heap buffer overflow in argument parsing

Severity
7
CVSS
(AV:L/AC:L/Au:N/C:C/I:C/A:C)
Published
Jan 26, 2021
Added
Mar 12, 2021
Modified
Mar 30, 2026

Description

Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single backslash character.

Solution

linuxrpm-upgrade-redhat-coreos

References

    Title
    Rapid7 Labs

    2026 Global Threat Landscape Report

    The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.