CVE-2021-23239
Publication date 12 January 2021
Last updated 18 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
The sudoedit personality of Sudo before 1.9.5 may allow a local unprivileged user to perform arbitrary directory-existence tests by winning a sudo_edit.c race condition in replacing a user-controlled directory by a symlink to an arbitrary path.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| sudo | 25.10 questing |
Fixed 1.9.4p2-2ubuntu2
|
| 25.04 plucky |
Fixed 1.9.4p2-2ubuntu2
|
|
| 24.04 LTS noble |
Fixed 1.9.4p2-2ubuntu2
|
|
| 22.04 LTS jammy |
Fixed 1.9.4p2-2ubuntu2
|
|
| 20.04 LTS focal |
Fixed 1.8.31-1ubuntu1.2
|
|
| 18.04 LTS bionic |
Fixed 1.8.21p2-3ubuntu1.4
|
|
| 16.04 LTS xenial |
Fixed 1.8.16-0ubuntu1.10
|
|
| 14.04 LTS trusty |
Vulnerable
|
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Local |
| Attack complexity | High |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | Low |
| Integrity impact | None |
| Availability impact | None |
| Vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-4705-1
- Sudo vulnerabilities
- 26 January 2021