Vulnerability in Beyondtrust Privilege_management_for_mac

CVE-2021-3156

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.

EPSS: 0.993 (99.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

CISA KEV (Known Exploited Vulnerabilities)

This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.

BOD 22-01 due date: .

Required action: Apply updates per vendor instructions.

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-3156?
CVE-2021-3156 is a high-severity vulnerability in Beyondtrust Privilege_management_for_mac, classified under Off-by-one Error. CVSS score: 7.8/10. Published 2021-01-26.
How severe is CVE-2021-3156?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2021-3156 known to be exploited?
Yes. CVE-2021-3156 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2022-04-06), indicating it is being actively exploited. 416 public proof-of-concept repositories are indexed.