Skip to content

GHSA-p6gj-gpc8-f8xw Aliased mutable references from `tls_rand` & `TlsWyRand`

Unknown
Published
Updated
Exploit status
No public exploit known

Description

TlsWyRand's implementation of Deref unconditionally dereferences a raw pointer, and returns
multiple mutable references to the same object, which is undefined behavior.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io nanorand(crates.io) >= 0.5.0, < 0.6.1 0.6.1 Fixed

Affected products

ProductAffected versionsFixed in
crates.io nanorand(crates.io) >= 0.5.0, < 0.6.1 0.6.1

References