PT-2019-14816 · Rust+1 · Rust+1

Elichai Turkel

·

Published

2018-09-19

·

Updated

2022-05-24

·

CVE-2019-16760

CVSS v3.1

7.5

High

VectorAV: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.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2018-2345
CVE-2019-16760
GHSA-9F3P-WVJ7-Q82X
GHSA-PHJM-8X66-QW4R

Affected Products

Alt Linux
Rust