rustcrypto/utils · Security
Memory flaw in zeroize_derive
- GHSA ID
- GHSA-c5hx-w945-j4pq
- CVE ID
- CVE-2021-45706
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-459 · Incomplete Cleanup
References
- 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 ↗
- https://github.com/iqlusioninc/crates/issues/876 ↗
- https://github.com/advisories/GHSA-c5hx-w945-j4pq ↗