Skip to main content

CVE-2023-22809

7.8
HIGHCVSS v3.1 Base Score
41.68%
MEDIUM RiskEPSS (97th percentile)

In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries to the list of files to process. This can lead to privilege escalation. Affected versions are 1.8.0 through 1.9.12.p1. The problem exists because a user-specified editor may contain a "--" argument that defeats a protection mechanism, e.g., an EDITOR='vim -- /path/to/extra/file' value.

Published: 1/18/2023
Modified: 4/4/2025
Back to CVE Lookup

Vulnerability Summary

CVSS v3 Score

7.8HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS Score (Exploitation Probability)

41.68%MEDIUM Exploitation Risk
97th percentile

This vulnerability has a 41.68% probability of being exploited in the next 30 days, ranking higher than 97% of all scored CVEs.

Related Vulnerabilities