CVE-2021-45706 json
Memory flaw in zeroize_derive
published 2021-09-24 5 y ago modified 2026-06-17 4 mo ago also GHSA-c5hx-w945-j4pq , RUSTSEC-2021-0115 , EUVD-2022-0554
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
An issue was discovered in the zeroize_derive crate before 1.1.1 for Rust. Dropped memory is not zeroed out for an enum.
Patch / fix
- crates.io zeroize_derive 1.1.1
- zeroize_derive_project zeroize_derive 1.1.1
Exploit prediction
1.23% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | zeroize_derive | <1.1.1 >=0.0.0-0, <1.1.1 |
1.1.1 |
Classification
- Weakness
-
- CWE-459 Incomplete Cleanup
References
-
rustsec.org
/advisories/RUSTSEC-2021-0115.html
web, third-party-advisory, advisory
-
raw.githubusercontent.com
/rustsec/advisory-db/main/crates/zeroize_derive/RUSTSEC-2021-0115.md
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-45706
advisory
-
github.com
/iqlusioninc/crates/issues/876
web, report
-
github.com
/RustCrypto/utils/tree/master/zeroize/derive
package
-
crates.io
/crates/zeroize_derive
package
Sources
- CVE List CVE-2021-45706
- GitHub Advisory GHSA-c5hx-w945-j4pq
- NVD CVE-2021-45706
- OSV RUSTSEC-2021-0115
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.