RUSTSEC-2021-0114

Source
https://rustsec.org/advisories/RUSTSEC-2021-0114
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0114.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2021-0114
Aliases
Published
2021-09-23T12:00:00Z
Modified
2023-11-08T04:07:22.929289Z
Summary
Aliased mutable references from `tls_rand` & `TlsWyRand`
Details

TlsWyRand's implementation of Deref unconditionally dereferences a raw pointer, and returns multiple mutable references to the same object, which is undefined behavior.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / nanorand

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.5.0
Fixed
0.6.1

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [
            "nanorand::tls::tls_rand"
        ],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": []
}