Rust advisories / xsalsa20poly1305
UnmaintainedRUSTSEC-2023-0037 · xsalsa20poly1305
RUSTSEC-2023-0037: crate has been renamed to `crypto_secretbox`
Short answerNot a bug report: xsalsa20poly1305 is no longer maintained, so future security issues will not be fixed. Plan to move to a maintained alternative.
| Crate | xsalsa20poly1305 |
|---|---|
| Type | Unmaintained |
| Affected versions | Every version. |
| Fixed in | not applicable (the crate is unmaintained) |
| Severity | not scored |
| Published | 2023-05-16 |
| Last changed | 2023-05-17 |
| Also known as | none |
What to do
- Look for a maintained fork or alternative crate.
- If you cannot move yet, acknowledge it in your audit config so CI stays green while you plan: add
"RUSTSEC-2023-0037"toignorein.cargo/audit.tomlordeny.toml, with a comment saying why. - Find who pulls it in:
cargo tree -i xsalsa20poly1305.
Details from the advisory
This crate has been forked/renamed from xsalsa20poly1305 to crypto_secretbox.
The new repository location is at:
<https://github.com/RustCrypto/nacl-compat/tree/master/crypto_secretbox>
References
- Package: crates.io/crates/xsalsa20poly1305
- Advisory: rustsec.org/advisories/RUSTSEC-2023-0037.html
- Web: github.com/RustCrypto/AEADs/pull/525
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?