GitHub Advisory Database
GHSA-r57r-j98g-587f
Pointer dereference in nanorand
Details
An issue was discovered in the nanorand crate before 0.6.1 for Rust. There can be multiple mutable references to the same object because the TlsWyRand Deref implementation dereferences a raw pointer.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | nanorand | From 0.5.0 before 0.6.1 (fixed in 0.6.1) |