VDB
DEBIAN-CVE-2021-3156
DEBIAN-CVE-2021-3156
PUBLISHED
CVSS 7.800000190734863 HIGH
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.
Risk Scores
CVSS 3.1
7.800000190734863
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | sudo | 0, 0, 0 |
| Debian:12 | sudo | 0, 0, 0 |
| Debian:11 | sudo | 0, 0, 0 |
| Debian:13 | sudo | 0, 0, 0 |
Exploit Intelligence
- Exploitation and mitigation analysis of CVE-2021-3156 heap-based buffer overflow in sudo (github-poc-repo)
- Exploitation and mitigation analysis of CVE-2021-3156 heap-based buffer overflow in sudo (github-poc)
- sbladiamond/CVE-2021-3156 (github-poc)
- fixed version (github-poc)
- fixed version (github-poc-repo)
- Exploiting heap-based buffer overflow in sudo for privilege escalation (github-poc-repo)
- Exploiting heap-based buffer overflow in sudo for privilege escalation (github-poc)
- this is a study about CVE-2021-3156: Heap-Based Buffer Overflow in Sudo (Baron Samedit) (github-poc-repo)
- this is a study about CVE-2021-3156: Heap-Based Buffer Overflow in Sudo (Baron Samedit) (github-poc)
- CVE-2021-3156 (github-poc-repo)
…and 115 more exploits
Timeline
- Jan 26, 2021 CVE Published
- Feb 13, 2025 PoC Published
- Apr 28, 2026 CVE Updated