CVE-2021-45706
highpriority · track · 39EPSS 0.012 · 69 %ileEUUSEPSS · scored 2026-10-26
An issue was discovered in the zeroize_derive crate before 1.1.1 for Rust. Dropped memory is not zeroed out for an enum.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
- zeroize derive project zeroize derive< 1.1.1nvdUScpe:2.3:a:zeroize_derive_project:zeroize_derive:*:*:*:*:*:*:*:*
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-c5hx-w945-j4pqMemory flaw in zeroize_derive2022-01-06ghsa · osvUS
An issue was discovered in the zeroize_derive crate before 1.1.1 for Rust. Dropped memory is not zeroed out for an enum.
- RUSTSEC-2021-0115`#[zeroize(drop)]` doesn't implement `Drop` for `enum`s2021-09-24vendor · osvUS
Affected versions of this crate did not implement `Drop` when `#[zeroize(drop)]` was used on an `enum`. This can result in memory not being zeroed out after dropping it, which is exactly what is intended when adding this attribute. The flaw was corrected in version 1.2 and `#[zeroize(drop)]` on `enum`s now properly implements `Drop`.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/zeroize_derive/RUSTSEC-2021-0115.mdcnnvd
- https://rustsec.org/advisories/RUSTSEC-2021-0115.htmlcnnvd
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/zeroize_derive/RUSTSEC-2021-0115.mdenisa_euvd
- https://rustsec.org/advisories/RUSTSEC-2021-0115.htmlenisa_euvd
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/zeroize_derive/RUSTSEC-2021-0115.mdThird Party Advisorynvd
- https://rustsec.org/advisories/RUSTSEC-2021-0115.htmlThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan