CVE-2020-36210
HIGH 7.8CVSS 3.1Free of uninitialized memory in autorand
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.
- Published
- 26 Jan 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-787CWE-908
- Also known as
- GHSA-cgmg-2v6m-fjg7RUSTSEC-2020-0103
- Sources
- NVDJSONOSV GHSA-cgmg-2v6m-fjg7JSONOSV RUSTSEC-2020-0103JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | autorand_project | autorandcpe:2.3:a:autorand_project:autorand:*:*:*:*:*:rust:*:* |
< 0.2.3 | 0.2.3 |
| OSV | crates.io | autorand | < 0.2.3 | 0.2.3 |
| OSV | crates.io | autorand | >= 0.0.0-0, < 0.2.3 | 0.2.3 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0103.html · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-36210 · ADVISORY
- https://github.com/mersinvald/autorand-rs/issues/5 · WEB, REPORT
- https://github.com/mersinvald/autorand-rs · PACKAGE
- https://crates.io/crates/autorand · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Jan 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)