CVE-2019-16760
4.6 · MEDIUMOverview
CVE-2019-16760 is a medium-severity vulnerability affecting rust-lang rust. It was published on September 30, 2019 and has a CVSS 3.1 base score of 4.6 (MEDIUM).
This vulnerability has a CVSS 3.1 base score of 4.6, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.
Technical Description
Cargo prior to Rust 1.26.0 may download the wrong dependency if your package.toml file uses the `package` configuration key. Usage of the `package` key to rename dependencies in `Cargo.toml` is ignored in Rust 1.25.0 and prior. When Rust 1.25.0 and prior is used Cargo may download the wrong dependency, which could be squatted on crates.io to be a malicious package. This not only affects manifests that you write locally yourself, but also manifests published to crates.io. Rust 1.0.0 through Rust 1.25.0 is affected by this advisory because Cargo will ignore the `package` key in manifests. Rust 1.26.0 through Rust 1.30.0 are not affected and typically will emit an error because the `package` key is unstable. Rust 1.31.0 and after are not affected because Cargo understands the `package` key. Users of the affected versions are strongly encouraged to update their compiler to the latest available one. Preventing this issue from happening requires updating your compiler to be either Rust 1.26.
Remediation
Check the references section for vendor advisories and patches from rust-lang. Update rust to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
Affected Products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| rust-lang | rust | >= 0, < 1.26.0 | Affected |
References
Frequently Asked Questions
What is CVE-2019-16760?
CVE-2019-16760 is a medium-severity vulnerability affecting rust-lang rust. It was published on September 30, 2019 and has a CVSS 3.1 base score of 4.6 (MEDIUM).
How severe is CVE-2019-16760?
This vulnerability has a CVSS 3.1 base score of 4.6, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.
How do I fix or remediate CVE-2019-16760?
Check the references section for vendor advisories and patches from rust-lang. Update rust to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.
How can CyberStrike help with CVE-2019-16760?
CyberStrike's AI-powered security agents can automatically detect CVE-2019-16760 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related MEDIUM CVEs from 2019
View all →Vulnerability in the Oracle Web Cache component of Oracle Fusion Middleware (subcomponent: ESI/Parti
DLL Search Order Hijacking vulnerability in Microsoft Windows client in McAfee Total Protection (MTP
Yamaha routers RT57i Rev.8.00.95 and earlier, RT58i Rev.9.01.51 and earlier, NVR500 Rev.11.00.36 and
Yamaha routers RT57i Rev.8.00.95 and earlier, RT58i Rev.9.01.51 and earlier, NVR500 Rev.11.00.36 and
BN-SDWBP3 firmware version 1.0.9 and earlier allows attacker with administrator rights on the same n
Buffer overflow in BN-SDWBP3 firmware version 1.0.9 and earlier allows an attacker on the same netwo
A vulnerability in the TCP socket code of Cisco IOS and IOS XE Software could allow an unauthenticat
An improper authorization flaw was found in the Smart Class feature of Foreman. An attacker can use
A vulnerability in the one-x Portal component of IP Office could allow an authenticated user to perf
An issue was discovered in OpenSSH 7.9. Due to missing character encoding in the progress display, a
In OpenSSH 7.9, due to accepting and displaying arbitrary stderr output from the server, a malicious
IBM Tivoli Application Dependency Discovery Manager 7.2.2 and 7.3 could expose password hashes in st