Ojuju Advisory
DEBIAN-CVE-2021-3156 Also known as: CVE-2021-3156
Summary The record has no summary.
Details 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.
Severity High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Dates Published 2021-01-26 21:15 UTC Modified 2026-10-23 18:03 UTC
Affected packages and fixes sudo
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 1.9.5p1-1.1 (ecosystem)
Fixed versions 1.9.5p1-1.1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
sudo
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 1.9.5p1-1.1 (ecosystem)
Fixed versions 1.9.5p1-1.1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
sudo
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 1.9.5p1-1.1 (ecosystem)
Fixed versions 1.9.5p1-1.1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →