{"id":"RUSTSEC-2021-0115","summary":"`#[zeroize(drop)]` doesn't implement `Drop` for `enum`s","details":"Affected versions of this crate did not implement `Drop` when `#[zeroize(drop)]` was used on an `enum`.\n\nThis can result in memory not being zeroed out after dropping it, which is exactly what is intended when adding this attribute.\n\nThe flaw was corrected in version 1.2 and `#[zeroize(drop)]` on `enum`s now properly implements `Drop`.","aliases":["CVE-2021-45706","GHSA-c5hx-w945-j4pq"],"modified":"2023-11-08T04:07:22.993048Z","published":"2021-09-24T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/zeroize_derive"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0115.html"},{"type":"REPORT","url":"https://github.com/iqlusioninc/crates/issues/876"}],"affected":[{"package":{"name":"zeroize_derive","ecosystem":"crates.io","purl":"pkg:cargo/zeroize_derive"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"1.1.1"}]}],"ecosystem_specific":{"affects":{"os":[],"arch":[],"functions":[]},"affected_functions":null},"database_specific":{"informational":null,"cvss":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0115.json","categories":[]}}],"schema_version":"1.7.3"}