{"id":"GHSA-2qv5-7mw5-j3cg","summary":"spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers","details":"`Once::try_call_once` is unsound if invoked more than once concurrently and any call fails to initialise successfully.\n","aliases":["RUSTSEC-2023-0031"],"modified":"2026-09-10T03:49:53.155588159Z","published":"2023-04-03T22:53:18Z","database_specific":{"nvd_published_at":null,"cwe_ids":[],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-04-03T22:53:18Z"},"references":[{"type":"WEB","url":"https://github.com/mvdnes/spin-rs/issues/148"},{"type":"PACKAGE","url":"https://github.com/mvdnes/spin-rs"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2023-0031.html"}],"affected":[{"package":{"name":"spin","ecosystem":"crates.io","purl":"pkg:cargo/spin"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.9.3"},{"fixed":"0.9.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-2qv5-7mw5-j3cg/GHSA-2qv5-7mw5-j3cg.json"}}],"schema_version":"1.9.0"}