Rust-Lang Cargo vulnerabilities
5 known vulnerabilities affecting rust-lang/cargo.
Total CVEs
5
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH2MEDIUM3
Vulnerabilities
Page 1 of 1
CVE-2023-40030MEDIUMCVSS 6.1v>= 1.60.0, < 1.722023-08-24
CVE-2023-40030 [MEDIUM] CWE-79 CVE-2023-40030: Cargo downloads a Rust project’s dependencies and compiles the project. Starting in Rust 1.60.0 and
Cargo downloads a Rust project’s dependencies and compiles the project. Starting in Rust 1.60.0 and prior to 1.72, Cargo did not escape Cargo feature names when including them in the report generated by `cargo build --timings`. A malicious package included as a dependency may inject nearly arbitrary HTML here, potentially leading to cross-site scripti
cvelistv5nvd
CVE-2023-38497HIGHCVSS 7.3fixed in 0.72.22023-08-04
CVE-2023-38497 [HIGH] CWE-278 CVE-2023-38497: Cargo downloads the Rust project’s dependencies and compiles the project. Cargo prior to version 0.7
Cargo downloads the Rust project’s dependencies and compiles the project. Cargo prior to version 0.72.2, bundled with Rust prior to version 1.71.1, did not respect the umask when extracting crate archives on UNIX-like systems. If the user downloaded a crate containing files writeable by any local user, another local user could exploit this to change t
cvelistv5nvd
CVE-2022-46176MEDIUMCVSS 5.9≤ 0.67.02023-01-11
CVE-2022-46176 [MEDIUM] CWE-347 CVE-2022-46176: Cargo is a Rust package manager. The Rust Security Response WG was notified that Cargo did not perfo
Cargo is a Rust package manager. The Rust Security Response WG was notified that Cargo did not perform SSH host key verification when cloning indexes and dependencies via SSH. An attacker could exploit this to perform man-in-the-middle (MITM) attacks. This vulnerability has been assigned CVE-2022-46176. All Rust versions containing Cargo before 1.66
cvelistv5nvd
CVE-2022-36113HIGHCVSS 8.1fixed in 0.65.0v= 0.66.02022-09-14
CVE-2022-36113 [MEDIUM] CWE-22 CVE-2022-36113: Cargo is a package manager for the rust programming language. After a package is downloaded, Cargo e
Cargo is a package manager for the rust programming language. After a package is downloaded, Cargo extracts its source code in the ~/.cargo folder on disk, making it available to the Rust projects it builds. To record when an extraction is successful, Cargo writes "ok" to the .cargo-ok file at the root of the extracted source code once it extracted a
cvelistv5nvd
CVE-2022-36114MEDIUMCVSS 6.5fixed in 0.65.0v= 0.66.02022-09-14
CVE-2022-36114 [MEDIUM] CWE-400 CVE-2022-36114: Cargo is a package manager for the rust programming language. It was discovered that Cargo did not l
Cargo is a package manager for the rust programming language. It was discovered that Cargo did not limit the amount of data extracted from compressed archives. An attacker could upload to an alternate registry a specially crafted package that extracts way more data than its size (also known as a "zip bomb"), exhausting the disk space on the machine
cvelistv5nvd