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.