CVE-2023-38497 describes a vulnerability in Cargo, bundled with Rust prior to version 1.71.1, where it failed to respect the umask when extracting crate archives on UNIX-like systems. This flaw could allow a local attacker to modify source code compiled and executed by another user if a downloaded crate contained world-writable files. The vulnerability carries a CVSS score of 7.3 (HIGH), indicating a local attack vector with low complexity, potentially leading to high impact on confidentiality, integrity, and availability. While there is no evidence of active exploitation, public exploit code, or inclusion in the KEV catalog, the vulnerability has garnered some community discussion and media coverage.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 0.72.2CPE matchmatch criteria | cpe:2.3:a:rust-lang:cargo:*:*:*:*:*:rust:*:* | ||
38CPE matchmatch criteria | cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.
The average CVE in this peer group has 0.2 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
Cargo not respecting umask when extracting crate archives
Aug 8, 2023Cargo not respecting umask when extracting crate archives
Aug 3, 2023rust-cargo: cargo does not respect the umask when extracting dependencies
Aug 3, 2023