CVE-2021-45706
Memory flaw in zeroize_derive
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
An issue was discovered in the zeroize_derive crate before 1.1.1 for Rust. Dropped memory is not zeroed out for an enum.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| cargo::GitHub Security Advisory Rust | zeroize_derive | 1.1.1 |
References
- https://github.com/RustCrypto/utils/tree/master/zeroize/derive
- https://github.com/iqlusioninc/crates/issues/876
- https://nvd.nist.gov/vuln/detail/CVE-2021-45706
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/zeroize_derive/RUSTSEC-2021-0115.md
- https://rustsec.org/advisories/RUSTSEC-2021-0115.html