Incorrect Type Conversion or Cast Affecting rust-rand-core package, versions <0.5.0-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.22% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-RUSTRANDCORE-674534
  • published15 Sept 2020
  • disclosed14 Sept 2020

Introduced: 14 Sep 2020

CVE-2020-25576  (opens in a new tab)
CWE-704  (opens in a new tab)

How to fix?

Upgrade Debian:11 rust-rand-core to version 0.5.0-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-rand-core package and not the rust-rand-core package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

An issue was discovered in the rand_core crate before 0.4.2 for Rust. Casting of byte slices to integer slices mishandles alignment constraints.

CVSS Scores

version 3.1