Advisory

RUSTSEC-2020-0013

Also known as: GHSA-8xw8-mmqv-frqq

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

Severity

Not rated by the source.

Dates

Published
2020-04-24 12:00 UTC
Modified
2023-11-08 04:17 UTC

Affected packages and fixes

fake-static

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences