Advisory

RUSTSEC-2025-0045

Also known as: None

Summary

ConstStaticCell could have been used to pass non-Send values to another thread

Details

ConstStaticCell<T> could have been used to pass non-Send values to another thread, because T was not required to be Send while ConstStaticCell is Send.

This was corrected by introducing a T: Send bound.

Severity

Not rated by the source.

Dates

Published
2025-07-17 12:00 UTC
Modified
2025-07-17 14:38 UTC

Affected packages and fixes

static_cell

crates.io · All systems

Affected

  • introduced 2.0.1-0, fixed 2.1.1 (semver)

Fixed versions

2.1.1

Fix

  • Fixed version 2.1.1
    cargo update -p static_cell --precise 2.1.1

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