RUSTSEC-2023-0031
MEDIUMspin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers
Once::try_call_once is unsound if invoked more than once concurrently and any call fails to initialise successfully.
- Published
- 31 Mar 2023
- Last modified
- 10 Sep 2026
- Also known as
- GHSA-2qv5-7mw5-j3cg
- Sources
- OSV GHSA-2qv5-7mw5-j3cgJSONOSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | spin | >= 0.9.3, < 0.9.8 | 0.9.8 |
References
- https://github.com/mvdnes/spin-rs/issues/148 · WEB, REPORT
- https://github.com/mvdnes/spin-rs · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2023-0031.html · WEB, ADVISORY
- https://crates.io/crates/spin · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 31 Mar 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Apr 2023)