Sudo Heap-Based Buffer Overflow Vulnerability
Sudo contains an off-by-one error that can result in a heap-based buffer overflow, which allows for privilege escalation.
Off-by-one Error CWE-193
A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.
Weakness data: MITRE Common Weakness Enumeration.
Heap-based Buffer Overflow CWE-122
Too much data overwrites memory the program uses while it runs, which can let an attacker run their code.
The product writes past the end of a buffer that was allocated on the heap.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable, 25 products in all. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Sudo Project Sudo | Software | from 1.8.2, before 1.8.32; from 1.9.0, before 1.9.5; 1.9.5; 1.9.5 patch1 | 1.8.321.9.5 is also listed as vulnerable: check the vendor advisory |
| Mcafee WEB Gateway | Software | 8.2.17; 9.2.8; 10.0.4 | not recorded |
| Debian Debian Linux | Operating system | 9.0; 10.0 | not recorded |
| Fedoraproject Fedora | Operating system | 32; 33 | not recorded |
| Oracle Communications Performance Intelligence Center | Software | from 10.3.0.0.0, up to and including 10.3.0.2.1; from 10.4.0.1.0, up to and including 10.4.0.3.1 | not recorded |
| Beyondtrust Privilege Management FOR MAC | Software | before 21.1.1 | 21.1.1 |
| Beyondtrust Privilege Management FOR Unix/linux | Software | before 10.3.2-10 | 10.3.2-10 |
| N/A N/A | Software | n/a | not recorded |
| Netapp Active IQ Unified Manager | Software | all versions | not recorded |
| Netapp Cloud Backup | Software | all versions | not recorded |
| Netapp HCI Management Node | Software | all versions | not recorded |
| Netapp Oncommand Unified Manager Core Package | Software | all versions | not recorded |
| Netapp Ontap Select Deploy Administration Utility | Software | all versions | not recorded |
| Netapp Ontap Tools | Software | 9 | not recorded |
| Netapp Solidfire | Software | all versions | not recorded |
and 10 more products. The complete list is on the NIST page.
The 7.8 severity score (high) from NIST, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | On the machine | The attacker needs access to the computer itself, for example a login or a file they can get you to open. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Reaches beyond the program | Unchanged | The damage stays inside the vulnerable program. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | High | The attacker can take the service down completely. |
| Ease of attack | 1.8 | A score for how easy it is to use the flaw. Higher is easier. |
| Damage | 5.9 | A score for how bad the harm is if it works. Higher is worse. |
Scorers can disagree. NIST scores every flaw the same way; the reporting company knows its own product best.
7 of the 35 sources NIST lists are patches or advisories from the vendor. 12 explain how the flaw works or include exploit code, so attackers can find instructions easily.