CVE-2023-42456 affects sudo-rs versions prior to 0.2.1, allowing path traversal due to improper handling of usernames containing '.' or '/' characters when constructing session file paths. An authenticated attacker with the ability to create users with specially crafted usernames could exploit this to delete arbitrary files, such as system binaries, by using the 'sudo -K' command. Rated 8.1 HIGH (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H), this vulnerability has a high impact on integrity and availability. There is no evidence of active exploitation, public exploit code, or significant community discussion, and it is not listed in CISA's KEV catalog.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 0.2.1CPE matchmatch criteria | cpe:2.3:a:memorysafety:sudo:*:*:*:*:*:rust:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:L
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.