RUSTSEC-2025-0045

Source
https://rustsec.org/advisories/RUSTSEC-2025-0045
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2025-0045.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2025-0045
Published
2025-07-17T12:00:00Z
Modified
2025-07-17T14:38:11Z
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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / static_cell

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.1-0
Fixed
2.1.1

Ecosystem specific

{
    "affects": {
        "arch": [],
        "functions": [
            "static_cell::ConstStaticCell::new"
        ],
        "os": []
    },
    "affected_functions": null
}

Database specific

{
    "informational": "unsound",
    "categories": [
        "memory-exposure",
        "memory-corruption"
    ],
    "cvss": null
}