GHSA-2qv5-7mw5-j3cg
spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers
GHSA-2qv5-7mw5-j3cg is a vulnerability with no CVSS score yet in spin, published March 31, 2023. No source lists public exploit code. Fixed in spin 0.9.8.
- Severity
- UnratedNo CVSS score yet
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
0.9.8spin
Description
Once::try_call_once is unsound if invoked more than once concurrently and any call fails to initialise successfully.
Affected packages
| Package | Affected | Fixed |
|---|---|---|
spincrates.io | 0.9.3 up to 0.9.8 | 0.9.8 |
What each source reports
GitHub AdvisoriesNo score
spin-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.
- Record
GHSA-2qv5-7mw5-j3cg- Updated
- 2026-11-02
OSVNo score
spin-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.
- Record
GHSA-2qv5-7mw5-j3cg- Updated
- 2026-11-02
OSVRUSTSEC-2023-0031No score
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.
- Record
RUSTSEC-2023-0031- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.