CVE-2021-3156

Published Jan 26, 2021

Last updated 13 days ago

Overview

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.
Source
cve@mitre.org
NVD status
Modified

Risk scores

CVSS 3.1

Type
Primary
Base score
7.8
Impact score
5.9
Exploitability score
1.8
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity
HIGH

CVSS 2.0

Type
Primary
Base score
7.2
Impact score
10
Exploitability score
3.9
Vector string
AV:L/AC:L/Au:N/C:C/I:C/A:C

Known exploits

Data from CISA

Vulnerability name
Sudo Heap-Based Buffer Overflow Vulnerability
Exploit added on
Apr 6, 2022
Exploit action due
Apr 27, 2022
Required action
Apply updates per vendor instructions.

Weaknesses

nvd@nist.gov
CWE-193

Social media

Hype score
Not currently trending

Configurations

References