CVE-2021-3156
Published: 26 January 2021
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.
Priority
Status
Package | Release | Status |
---|---|---|
sudo Launchpad, Ubuntu, Debian |
bionic |
Released
(1.8.21p2-3ubuntu1.4)
|
focal |
Released
(1.8.31-1ubuntu1.2)
|
|
groovy |
Released
(1.9.1-1ubuntu1.1)
|
|
trusty |
Released
(1.8.9p5-1ubuntu1.5+esm6)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
xenial |
Released
(1.8.16-0ubuntu1.10)
|
|
upstream |
Released
(1.9.5p2)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.8 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |