CVE-2023-22809
Publication date 18 January 2023
Last updated 24 July 2024
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
sudo | ||
22.04 LTS jammy |
Fixed 1.9.9-1ubuntu2.2
|
|
20.04 LTS focal |
Fixed 1.8.31-1ubuntu1.4
|
|
18.04 LTS bionic |
Fixed 1.8.21p2-3ubuntu1.5
|
|
16.04 LTS xenial |
Fixed 1.8.16-0ubuntu1.10+esm1
|
|
14.04 LTS trusty |
Fixed 1.8.9p5-1ubuntu1.5+esm7
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProSeverity score breakdown
Parameter | Value |
---|---|
Base score | 7.8 · High |
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 |
References
Related Ubuntu Security Notices (USN)
- USN-5811-1
- Sudo vulnerabilities
- 18 January 2023
- USN-5811-2
- Sudo vulnerability
- 18 January 2023
- USN-5811-3
- Sudo vulnerability
- 30 January 2023