Heap-based Buffer Overflow in Sudo before 1.9.5p2 via sudoedit -s and Single Backslash Argument

Heap-based Buffer Overflow in Sudo before 1.9.5p2 via sudoedit -s and Single Backslash Argument

CVE-2021-3156 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.