RUSTSEC-2021-0115

vendorUSosv

`#[zeroize(drop)]` doesn't implement `Drop` for `enum`s

view advisory published 2021-09-24Licence: CC0-1.0

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`.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2021-45706UScritical9.8—
An issue was discovered in the zeroize_derive crate before 1.1.1 for Rust. Dropped memory is not zeroed out for an enum.
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan