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.
https://www.openwall.com/lists/oss-security/2021/01/26/3
https://www.sudo.ws/stable.html#1.9.5p2
http://www.openwall.com/lists/oss-security/2021/01/26/3
https://security.gentoo.org/glsa/202101-33
https://www.debian.org/security/2021/dsa-4839
http://www.openwall.com/lists/oss-security/2021/01/27/1
http://www.openwall.com/lists/oss-security/2021/01/27/2
http://packetstormsecurity.com/files/161160/Sudo-Heap-Based-Buffer-Overflow.html
https://security.netapp.com/advisory/ntap-20210128-0001/
https://security.netapp.com/advisory/ntap-20210128-0002/
http://packetstormsecurity.com/files/161230/Sudo-Buffer-Overflow-Privilege-Escalation.html
http://packetstormsecurity.com/files/161270/Sudo-1.9.5p1-Buffer-Overflow-Privilege-Escalation.html
https://www.kb.cert.org/vuls/id/794544
http://packetstormsecurity.com/files/161293/Sudo-1.8.31p2-1.9.5p1-Buffer-Overflow.html
https://support.apple.com/kb/HT212177
http://seclists.org/fulldisclosure/2021/Feb/42
https://kc.mcafee.com/corporate/index?page=content&id=SB10348
http://www.openwall.com/lists/oss-security/2021/02/15/1
https://lists.debian.org/debian-lts-announce/2021/01/msg00022.html
http://seclists.org/fulldisclosure/2021/Jan/79
https://www.synology.com/security/advisory/Synology_SA_21_02
https://www.oracle.com//security-alerts/cpujul2021.html
http://www.openwall.com/lists/oss-security/2021/09/14/2
Source: MITRE
Published: 2021-01-26
Updated: 2022-09-03
Type: CWE-193
Base Score: 7.2
Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C
Impact Score: 10
Exploitability Score: 3.9
Severity: HIGH
Base Score: 7.8
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Impact Score: 5.9
Exploitability Score: 1.8
Severity: HIGH