PT-2021-24280

CVE-2021-45706

·

Published

2021-09-24

·

Updated

2022-06-22

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: zeroize derive crate versions prior to 1.2
Description: An issue was discovered where dropped memory is not zeroed out for an enum when the #[zeroize(drop)] attribute is used. This results in memory not being zeroed out after dropping it, contrary to the intended behavior. The flaw was corrected in version 1.2, where #[zeroize(drop)] on enums now properly implements the Drop trait.
Recommendations: For versions prior to 1.2, update to version 1.2 or later to ensure that the #[zeroize(drop)] attribute properly implements the Drop trait for enums, thereby zeroing out dropped memory as intended.
Exploitability
Fix
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-C5HX-W945-J4PQ
RUSTSEC-2021-0115
Found an issue in the description? Have something to add? Feel free to write us 👾