GHSA-8xw8-mmqv-frqq

Suggest an improvement
Source
https://github.com/advisories/GHSA-8xw8-mmqv-frqq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-8xw8-mmqv-frqq/GHSA-8xw8-mmqv-frqq.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8xw8-mmqv-frqq
Aliases
Published
2021-08-25T20:55:33Z
Modified
2023-11-08T04:17:36Z
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

Database specific
{
    "cwe_ids":  [
        "CWE-657"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-08-18T21:41:18Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

crates.io / fake-static

Package

Name
fake-static
View open source insights on deps.dev
Purl
pkg:cargo/fake-static

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
0.1.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-8xw8-mmqv-frqq/GHSA-8xw8-mmqv-frqq.json"