Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. spin
  4. ›
  5. GHSA-2qv5-7mw5-j3cg

GHSA-2qv5-7mw5-j3cg: spin-rs initialisation failure in `Once::try_call_once` can lead to undefined behaviour for other initialisers

April 3, 2023

Once::try_call_once is unsound if invoked more than once concurrently and any call fails to initialise successfully.

References

  • github.com/advisories/GHSA-2qv5-7mw5-j3cg
  • github.com/mvdnes/spin-rs
  • github.com/mvdnes/spin-rs/issues/148
  • rustsec.org/advisories/RUSTSEC-2023-0031.html

Code Behaviors & Features

Detect and mitigate GHSA-2qv5-7mw5-j3cg with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.9.3 before 0.9.8

Fixed versions

  • 0.9.8

Solution

Upgrade to version 0.9.8 or above.

Source file

cargo/spin/GHSA-2qv5-7mw5-j3cg.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:45 +0000.