RUSTSEC-2020-0013

Source
https://rustsec.org/advisories/RUSTSEC-2020-0013
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0013.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2020-0013
Aliases
Published
2020-04-24T12:00:00Z
Modified
2023-11-08T04:17:36.454364Z
Summary
fake-static allows converting any reference into a `'static` reference
Details

fake-static allows converting a reference with any lifetime into a reference with 'static lifetime without the unsafe keyword.

Internally, this crate does not use unsafe code, it instead exploits a soundness bug in rustc:

https://github.com/rust-lang/rust/issues/25860

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

Affected packages

crates.io / fake-static

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

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

Database specific

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