What’s Vulnerable › Vulnerabilities

CVE-2021-3156: Sudo Heap-Based Buffer Overflow Vulnerability

Description

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.

Affected products

How to fix

Upgrade to a fixed version: BeyondTrust Privilege Management For Mac 21.1.1; BeyondTrust Privilege Management For Unix/Linux 10.3.2-10; sudo 1.8.32, 1.9.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-3156 or the next vulnerability affects your stack