CVE-2021-3156
HIGH7.8⚠ KEVEPSS 92.6%sudo - security update
Published: 1/26/2021Modified: 4/28/2026Added to CISA KEV: 4/6/2022
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.
Affected packages (4)
- Alpine/sudofrom 0, < 1.9.5p2-r0
- Debian/sudofrom 0, < 1.9.5p1-1.1
- Debian/sudofrom 0, < 1.8.19p1-2.1+deb9u3
- Debian/sudofrom 0, < 1.8.27-1+deb10u3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |