PT-2019-14816

CVE-2019-16760

·

Published

2018-09-19

·

Updated

2026-09-18

Description by

CVSS 3.1
7.5
High
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions Rust versions prior to 1.26.0
Description The issue arises when the package configuration key in the package.toml file is used to rename dependencies. In Rust 1.25.0 and prior, this key is ignored by Cargo, potentially leading to the download of the wrong dependency. This could be exploited if a malicious package with the same name is published on crates.io. The issue affects not only local manifests but also those published to crates.io.
Recommendations For Rust versions 1.19.0 through 1.25.0, apply the linked patches to mitigate the issue. For all affected versions, update the compiler to Rust 1.26.0 or a newer version to resolve the issue. As a temporary workaround, consider avoiding the use of the package key in Cargo.toml until the compiler is updated.
Exploitability
Exploit
Fix
Researchers
Vendors
Affected products
Related identifiers
GHSA-9F3P-WVJ7-Q82X
GHSA-PHJM-8X66-QW4R
ALT-PU-2018-2345
CLEANSTART-2026-KD42401
Found an issue in the description? Have something to add? Feel free to write us 👾