{"id":"GHSA-2qv5-7mw5-j3cg","aliases":["GHSA-2qv5-7mw5-j3cg","RUSTSEC-2023-0031"],"related":[],"kind":"vulnerability","state":"published","title":"spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers","summary":"`Once::try_call_once` is unsound if invoked more than once concurrently and any call fails to initialise successfully.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"`Once::try_call_once` is unsound if invoked more than once concurrently and any call fails to initialise successfully.","format":"markdown","source":"ghsa"}],"published":"2023-03-31T12:00:00.000Z","modified":"2026-09-10T03:49:53.155Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.9.3","status":"affected","fixed":"0.9.8"}],"ecosystem":"crates.io","package":"spin","purl":"pkg:cargo/spin","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.9.3","status":"affected","fixed":"0.9.8"}],"ecosystem":"crates.io","package":"spin","purl":"pkg:cargo/spin","source":"rustsec"}],"references":[{"url":"https://github.com/mvdnes/spin-rs/issues/148","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/mvdnes/spin-rs","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0031.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/spin","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2qv5-7mw5-j3cg","url":"https://github.com/advisories/GHSA-2qv5-7mw5-j3cg","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:53.155Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2023-0031","url":"https://rustsec.org/advisories/RUSTSEC-2023-0031.html","licence":"CC0-1.0","modified":"2023-11-08T04:14:12.609Z"}],"updatedAt":"2026-11-25T22:56:43.146Z"}