Unsound HighRUSTSEC-2021-0006 · cache
RUSTSEC-2021-0006: Exposes internally used raw pointer
Short answercache has an API that can cause undefined behaviour from safe code: Exposes internally used raw pointer. No fixed version yet.
| Crate | cache |
|---|---|
| Type | Unsound (memory-corruption) |
| Affected versions | Every version. |
| Fixed in | none |
| Severity | High, CVSS 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2021-01-01 |
| Last changed | 2023-11-08 |
| Also known as | CVE-2021-25903, GHSA-gh87-6jr3-8q47 |
What to do
- Find who pulls it in:
cargo tree -i cache. - Avoid the affected API, or replace the crate.
Details from the advisory
Affected versions of this crate dereference a raw pointer that can be modified without using unsafe code.
References
- Package: crates.io/crates/cache
- Advisory: rustsec.org/advisories/RUSTSEC-2021-0006.html
- Report: github.com/krl/cache/issues/2
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for cache
Up next
Same cratecache: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?