Advisory

GHSA-p6gj-gpc8-f8xw

Also known as: CVE-2021-45705, GHSA-r57r-j98g-587f, RUSTSEC-2021-0114

Summary

Aliased mutable references from tls_rand & TlsWyRand

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-06-17 00:13 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

nanorand

crates.io · All systems

Affected

  • introduced 0.5.0, fixed 0.6.1 (semver)

Fixed versions

0.6.1

Fix

  • Fixed version 0.6.1
    cargo update -p nanorand --precise 0.6.1

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences