Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1wNmdqLWdwYzgtZjh4d84AArst

Aliased mutable references from `tls_rand` & `TlsWyRand`

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

Permalink: https://github.com/advisories/GHSA-p6gj-gpc8-f8xw
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wNmdqLWdwYzgtZjh4d84AArst
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: 11 months ago


Identifiers: GHSA-p6gj-gpc8-f8xw
References: Repository: https://github.com/Absolucy/nanorand-rs
Blast Radius: 0.0

Affected Packages

cargo:nanorand
Dependent packages: 57
Dependent repositories: 3,176
Downloads: 13,027,932 total
Affected Version Ranges: >= 0.5.0, < 0.6.1
Fixed in: 0.6.1
All affected versions: 0.5.0, 0.5.1, 0.5.2, 0.6.0
All unaffected versions: 0.0.0, 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.6.1, 0.7.0