UnmaintainedRUSTSEC-2021-0137 · sodiumoxide
RUSTSEC-2021-0137: sodiumoxide is deprecated
Short answerNot a bug report: sodiumoxide is no longer maintained, so future security issues will not be fixed. Plan to move to a maintained alternative.
| Crate | sodiumoxide |
|---|---|
| Type | Unmaintained |
| Affected versions | Every version. |
| Fixed in | not applicable (the crate is unmaintained) |
| Severity | not scored |
| Published | 2021-10-22 |
| Last changed | 2022-08-10 |
| 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-2021-0137"toignorein.cargo/audit.tomlordeny.toml, with a comment saying why. - Find who pulls it in:
cargo tree -i sodiumoxide.
Details from the advisory
Alternatives may be found - not in any specific order:
- libsodium-sys-stable
- dryoc
- RustCrypto/nacl-compat (
crypto_box,crypto_kx,crypto_secretstream) - RustCrypto/xsalsa20poly1305 (
crypto_secretbox) - Signatory
- ed25519-compact
- ed25519-dalek
- ring
Recommendations can be also found from:
No direct maintained fork exists.
References
- Package: crates.io/crates/sodiumoxide
- Advisory: rustsec.org/advisories/RUSTSEC-2021-0137.html
- Web: github.com/sodiumoxide/sodiumoxide/commit/5bb1dfd2578539b89ffb0cbea25f21f00cfb963e
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 sodiumoxide
Up next
Same cratesodiumoxide: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?