Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2019-16760
Modified
More InfoOfficial Page
Source-security-advisories@github.com
View Known Exploited Vulnerability (KEV) details
Published At-30 Sep, 2019 | 22:15
Updated At-07 Nov, 2023 | 03:05

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.0 or newer. There will be no point release for Rust versions prior to 1.26.0. Users of Rust 1.19.0 to Rust 1.25.0 can instead apply linked patches to mitigate the issue.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.17.5HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Secondary3.14.6MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
Primary2.05.0MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
Type: Primary
Version: 3.1
Base score: 7.5
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Type: Secondary
Version: 3.1
Base score: 4.6
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
Type: Primary
Version: 2.0
Base score: 5.0
Base severity: MEDIUM
Vector:
AV:N/AC:L/Au:N/C:N/I:P/A:N
CPE Matches

rust-lang
rust-lang
>>rust>>Versions before 1.26.0(exclusive)
cpe:2.3:a:rust-lang:rust:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-494Primarynvd@nist.gov
CWE-16Secondarysecurity-advisories@github.com
CWE ID: CWE-494
Type: Primary
Source: nvd@nist.gov
CWE ID: CWE-16
Type: Secondary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
http://www.openwall.com/lists/oss-security/2019/10/08/3security-advisories@github.com
N/A
https://gist.github.com/pietroalbini/0d293b24a44babbeb6187e06eebd4992security-advisories@github.com
Patch
Third Party Advisory
https://github.com/rust-lang/rust/security/advisories/GHSA-phjm-8x66-qw4rsecurity-advisories@github.com
Exploit
Third Party Advisory
https://groups.google.com/forum/#%21topic/rustlang-security-announcements/rVQ5e3TDnpQsecurity-advisories@github.com
N/A
Hyperlink: http://www.openwall.com/lists/oss-security/2019/10/08/3
Source: security-advisories@github.com
Resource: N/A
Hyperlink: https://gist.github.com/pietroalbini/0d293b24a44babbeb6187e06eebd4992
Source: security-advisories@github.com
Resource:
Patch
Third Party Advisory
Hyperlink: https://github.com/rust-lang/rust/security/advisories/GHSA-phjm-8x66-qw4r
Source: security-advisories@github.com
Resource:
Exploit
Third Party Advisory
Hyperlink: https://groups.google.com/forum/#%21topic/rustlang-security-announcements/rVQ5e3TDnpQ
Source: security-advisories@github.com
Resource: N/A
Change History
0Changes found

Details not found