CVE-2020-25576

Source
https://cve.org/CVERecord?id=CVE-2020-25576
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25576.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-25576
Aliases
Downstream
Published
2020-09-14T19:15:11Z
Modified
2026-08-21T17:13:42Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/rust-random/rand

Affected ranges

Type
GIT
Repo
https://github.com/rust-random/rand
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe": "cpe:2.3:a:rust-random:rand:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.4.2"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

0.*
0.1.1
0.1.2
0.1.3
0.1.4
0.2.0
0.2.1
0.3.0
0.3.1
0.3.10
0.3.11
0.3.12
0.3.13
0.3.14
0.3.15
0.3.16
0.3.17
0.3.18
0.3.2
0.3.3
0.3.4
0.3.5
0.3.6
0.3.7
0.3.8
0.3.9
0.4.0-pre.0
0.4.1
0.5.0
0.5.0-pre.0
0.5.0-pre.1
0.5.0-pre.2
0.6.0
0.6.0-pre.0
0.6.0-pre.1
0.6.1
0.6.2
0.6.3
0.6.4
0.6.5
0.7.0
0.7.0-pre.1
0.7.1
0.7.2
0.7.3
0.8.0
0.8.1
0.8.2
0.8.3
0.8.4
derive_rand-0.*
derive_rand-0.1.1
rand_chacha-0.*
rand_chacha-0.1.0
rand_chacha-0.1.1
rand_chacha-0.2.0
rand_chacha-0.2.1
rand_chacha-0.2.2
rand_chacha-0.3.0
rand_chacha-0.3.1
rand_core-0.*
rand_core-0.1.0
rand_core-0.1.0-pre.0
rand_core-0.2.0
rand_core-0.2.0-pre.0
rand_core-0.4.0
rand_core-0.5.0
rand_core-0.5.1
rand_core-0.6.0
rand_core-0.6.1
rand_core-0.6.2
rand_core-0.6.3
rand_derive-0.*
rand_derive-0.3.0
rand_derive-0.3.1
rand_distr-0.*
rand_distr-0.2.0
rand_distr-0.2.1
rand_distr-0.2.2
rand_distr-0.4.0
rand_distr-0.4.1
rand_hc-0.*
rand_hc-0.1.0
rand_hc-0.1.1
rand_hc-0.2.0
rand_hc-0.3.0
rand_hc-0.3.1
rand_hc128-0.*
rand_hc128-0.1.0
rand_isaac-0.*
rand_isaac-0.1.0
rand_isaac-0.1.1
rand_isaac-0.1.2
rand_isaac-0.2.0
rand_jitter-0.*
rand_jitter-0.1.0
rand_jitter-0.1.1
rand_jitter-0.1.2
rand_jitter-0.1.3
rand_jitter-0.2.0
rand_macros-0.*
rand_macros-0.1.10
rand_macros-0.1.2
rand_macros-0.1.3
rand_macros-0.1.4
rand_macros-0.1.5
rand_macros-0.1.6
rand_macros-0.1.7
rand_macros-0.1.9
rand_os-0.*
rand_os-0.1.0
rand_os-0.1.1
rand_os-0.1.2
rand_os-0.1.3
rand_os-0.2.0
rand_os-0.2.1
rand_os-0.2.2
rand_pcg-0.*
rand_pcg-0.1.2
rand_pcg-0.2.0
rand_pcg-0.2.1
rand_pcg-0.3.0
rand_pcg-0.3.1
rand_xorshift-0.*
rand_xorshift-0.1.1
rand_xorshift-0.1.2
rand_xorshift-0.2.0
rand_xoshiro-0.*
rand_xoshiro-0.1.0
rand_xoshiro-0.2.1
rand_xoshiro-0.3.0
rand_xoshiro-0.3.1
rand_xoshiro-0.4.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-25576.json"