CVE-2020-36210
Rust vulnerability analysis and mitigation

Overview

An issue was discovered in the autorand crate before 0.2.3 for Rust. Because of impl Random on arrays, uninitialized memory can be dropped when a panic occurs, leading to memory corruption (NVD, RustSec).

Technical details

The vulnerability stems from a panic safety issue in the implementation of Random trait for arrays. When a panic occurs in a user-provided T::random() function, it can lead to dropping partially uninitialized array of type T. The dropping of uninitialized T can potentially cause memory corruption or undefined behavior. The vulnerability has a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (RustSec).

Impact

The vulnerability can result in memory corruption and undefined behavior when uninitialized memory is dropped during a panic condition. This could potentially lead to security implications including high impact on confidentiality, integrity, and availability of the affected system (RustSec).

Exploitability

The vulnerability requires local access with low attack complexity and low privileges. No user interaction is needed to exploit this vulnerability. The scope is unchanged, meaning the impact is limited to the scope of the affected component (RustSec).

Mitigation and workarounds

The vulnerability was fixed in version 0.2.3 of the autorand crate. The fix was implemented in commit 565d508 by using MaybeUninit to avoid possible dropping of uninitialized memory upon panic. Users should upgrade to version 0.2.3 or later to address this vulnerability (RustSec).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68537HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
CVE-2026-68523HIGH7.5
  • Rust logoRust
  • fulgur
NoYesSep 17, 2026
RUSTSEC-2026-0289NONEN/A
  • Rust logoRust
  • pqc_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0287NONEN/A
  • Rust logoRust
  • cosmian_kyber
NoNoSep 17, 2026
RUSTSEC-2026-0286NONEN/A
  • Rust logoRust
  • cryptoki
NoYesSep 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management