Rust advisories / aes-ctr
UnmaintainedRUSTSEC-2021-0061 · aes-ctr
RUSTSEC-2021-0061: `aes-ctr` has been merged into the `aes` crate
Short answerNot a bug report: aes-ctr is no longer maintained, so future security issues will not be fixed. Plan to move to a maintained alternative.
| Crate | aes-ctr |
|---|---|
| Type | Unmaintained |
| Affected versions | Every version. |
| Fixed in | not applicable (the crate is unmaintained) |
| Severity | not scored |
| Published | 2021-04-29 |
| Last changed | 2021-05-04 |
| 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-0061"toignorein.cargo/audit.tomlordeny.toml, with a comment saying why. - Find who pulls it in:
cargo tree -i aes-ctr.
Details from the advisory
Please use the aes crate going forward. The new repository location is at:
<https://github.com/RustCrypto/block-ciphers/tree/master/aes>
The aes crate now has an optional ctr feature which autodetects SIMD features on i686/x86-64 targets and uses them if available, or otherwise falls back to the implementation in the ctr crate.
If you would prefer not to have this autodetection performed, use the aes crate directly with the ctr crate.
References
- Package: crates.io/crates/aes-ctr
- Advisory: rustsec.org/advisories/RUSTSEC-2021-0061.html
- Web: github.com/RustCrypto/block-ciphers/pull/200
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?