Vulnerability identifier: #VU96700
Vulnerability risk: Low
CVSSv3.1: 4.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-79
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Rust Programming Language
Universal components / Libraries /
Programming Languages & Components
Vendor: Rust Team
Description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data when downloading Rust project dependencies with Cargo. A remote attacker can execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
Rust Programming Language: 1.60.0 - 1.71.1
External links
http://github.com/rust-lang/cargo/security/advisories/GHSA-wrrj-h57r-vx9p
http://github.com/rust-lang/cargo/commit/9835622853f08be9a4b58ebe29dcec8f43b64b33
http://github.com/rust-lang/cargo/commit/f975722a0eac934c0722f111f107c4ea2f5c4365
http://github.com/rust-lang/cargo/pull/12291
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.