UBUNTU-CVE-2020-25576

Source
https://ubuntu.com/security/CVE-2020-25576
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-25576.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2020-25576
Upstream
Published
2020-09-14T19:15:00Z
Modified
2025-10-24T04:48: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
  • Ubuntu - medium
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

Ubuntu:20.04:LTS / rust-rand-core-0.2

Package

Name
rust-rand-core-0.2
Purl
pkg:deb/ubuntu/rust-rand-core-0.2@0.2.2-2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.2.2-1
0.2.2-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-rand-core-0.2+alloc-dev",
            "binary_version": "0.2.2-2"
        },
        {
            "binary_name": "librust-rand-core-0.2+serde1-dev",
            "binary_version": "0.2.2-2"
        },
        {
            "binary_name": "librust-rand-core-0.2+std-dev",
            "binary_version": "0.2.2-2"
        },
        {
            "binary_name": "librust-rand-core-0.2-dev",
            "binary_version": "0.2.2-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-25576.json"

Ubuntu:20.04:LTS / rust-rand-core-0.3

Package

Name
rust-rand-core-0.3
Purl
pkg:deb/ubuntu/rust-rand-core-0.3@0.3.0-2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.3.0-1
0.3.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librust-rand-core-0.3+serde-derive-dev",
            "binary_version": "0.3.0-2"
        },
        {
            "binary_name": "librust-rand-core-0.3+serde-dev",
            "binary_version": "0.3.0-2"
        },
        {
            "binary_name": "librust-rand-core-0.3+serde1-dev",
            "binary_version": "0.3.0-2"
        },
        {
            "binary_name": "librust-rand-core-0.3-dev",
            "binary_version": "0.3.0-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-25576.json"