# RUSTSEC-2021-0137: sodiumoxide is deprecated

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2021-10-22T12:00:00.000Z
- Modified: 2022-08-10T04:01:59.000Z

## Description

Alternatives may be found - not in any specific order:

- [libsodium-sys-stable](https://crates.io/crates/libsodium-sys-stable)
- [dryoc](https://crates.io/crates/dryoc)
- [RustCrypto/nacl-compat](https://github.com/RustCrypto/nacl-compat) (`crypto_box`, `crypto_kx`, `crypto_secretstream`)
- [RustCrypto/xsalsa20poly1305](https://github.com/RustCrypto/AEADs/tree/master/xsalsa20poly1305) (`crypto_secretbox`)
- [Signatory](https://crates.io/crates/signatory)
- [ed25519-compact](https://crates.io/crates/ed25519-compact)
- [ed25519-dalek](https://github.com/dalek-cryptography/ed25519-dalek)
- [ring](https://github.com/briansmith/ring)

Recommendations can be also found from:

- [Awesome Rust Cryptography](https://github.com/The-DevX-Initiative/RCIG_Coordination_Repo/blob/main/Awesome_Rust_Cryptography.md) 

No direct maintained fork exists.

(As written by RustSec Advisory Database.)

## Affected

- sodiumoxide (crates.io): from 0.0.0-0

## References

- <https://crates.io/crates/sodiumoxide> (package)
- <https://rustsec.org/advisories/RUSTSEC-2021-0137.html> (advisory)
- <https://github.com/sodiumoxide/sodiumoxide/commit/5bb1dfd2578539b89ffb0cbea25f21f00cfb963e> (web)

## Sources

- RustSec Advisory Database: [RUSTSEC-2021-0137](https://rustsec.org/advisories/RUSTSEC-2021-0137.html), CC0-1.0, modified 2022-08-10

---

Page: https://cve.day/RUSTSEC-2021-0137 · Whole record: https://cve.day/RUSTSEC-2021-0137.json · Rebuilt by cve.day 2026-11-25T22:56:43.083Z
