GHSA-8xw8-mmqv-frqq json
fake-static allows converting any reference into a `'static` reference
published 6y ago modified 3y ago also RUSTSEC-2020-0013
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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
Is GHSA-8xw8-mmqv-frqq in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | fake-static | <=0.1.0 >=0.0.0-0 |
no fix listed |
Classification
- Weakness
-
- CWE-657 Violation of Secure Design Principles
References
-
github.com
/rust-lang/rust/issues/25860
web
-
github.com
/NieDzejkob/fake-static
package
-
rustsec.org
/advisories/RUSTSEC-2020-0013.html
web, advisory
-
crates.io
/crates/fake-static
package
Sources
- GitHub Advisory GHSA-8xw8-mmqv-frqq
- OSV RUSTSEC-2020-0013
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.