lukebrogan-mend / vulnerable-rust

0 stars 0 forks source link

CVE-2021-27378 (High) detected in rand_core-0.4.2.crate - autoclosed #16

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 3 years ago

CVE-2021-27378 - High Severity Vulnerability

Vulnerable Library - rand_core-0.4.2.crate

Core random number generator traits and tools for implementation.

Library home page: https://crates.io/api/v1/crates/rand_core/0.4.2/download

Dependency Hierarchy: - ammonia-2.1.2.crate (Root Library) - html5ever-0.23.0.crate - markup5ever-0.8.1.crate - string_cache-0.7.5.crate - string_cache_codegen-0.4.4.crate - phf_generator-0.7.24.crate - rand-0.6.5.crate - rand_xorshift-0.1.1.crate - rand_core-0.3.1.crate - :x: **rand_core-0.4.2.crate** (Vulnerable Library)

Found in HEAD commit: 95d576b672062f2c8cd301fe4dd3e17fc29edc64

Found in base branch: master

Vulnerability Details

An issue was discovered in the rand_core crate before 0.6.2 for Rust. Because read_u32_into and read_u64_into mishandle certain buffer-length checks, a random number generator may be seeded with too little data.

Publish Date: 2021-02-18

URL: CVE-2021-27378

CVSS 3 Score Details (9.8)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://rustsec.org/advisories/RUSTSEC-2021-0023.html

Release Date: 2021-02-18

Fix Resolution: rand_core - 0.6.2

mend-for-github-com[bot] commented 2 years ago

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.