Advisory

RUSTSEC-2023-0031

Also known as: GHSA-2qv5-7mw5-j3cg

Summary

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.

Severity

Not rated by the source.

Dates

Published
2023-03-31 12:00 UTC
Modified
2023-11-08 04:14 UTC

Affected packages and fixes

spin

crates.io · All systems

Affected

  • introduced 0.9.3, fixed 0.9.8 (semver)

Fixed versions

0.9.8

Fix

  • Fixed version 0.9.8
    cargo update -p spin --precise 0.9.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences