PT-2020-17582

CVE-2020-36210

·

Published

2020-12-31

·

Updated

2021-08-25

Description by

CVSS 3.1
7.8
High
MetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions autorand crate versions prior to 0.2.3
Description An issue in the autorand crate for Rust can lead to memory corruption due to the dropping of uninitialized memory when a panic occurs. This happens because of the implementation of Random on arrays. The problem arises when a user-provided function, T::random(), panics and drops a partially uninitialized array of T, potentially causing memory corruption or undefined behavior.
Recommendations For versions prior to 0.2.3, update to version 0.2.3 or later to resolve the issue. As a temporary workaround, consider avoiding the use of the random() function in user-provided code until the update is applied.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-CGMG-2V6M-FJG7
RUSTSEC-2020-0103
Found an issue in the description? Have something to add? Feel free to write us 👾