GHSA-2qv5-7mw5-j3cg
JSON

medium

spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers

Severity
medium rating by GitHub
Published
Last changed
Also known as
RUSTSEC-2023-0031

Description

Once::try_call_once is unsound if invoked more than once concurrently and any call fails to initialise successfully.

Affected

Product or packageVersionsReported by
spin (crates.io)from 0.9.3 before 0.9.8GitHub Advisory Database, RustSec Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-2qv5-7mw5-j3cg changed 2026-09-10CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2023-0031 changed 2023-11-08CC0-1.0