Fixed and Dynamic secret wrappers were not zeroized on drop
In affected versions, the Fixed<T> and Dynamic<T> wrappers (and the FixedNoClone / DynamicNoClone variants in 0.6.x) did not wipe their contents when dropped. The types implemented the zeroize::ZeroizeOnDrop marker trait, which has no methods and does nothing by itself, but had no Drop implementation. The documentation stated that secrets were zeroized on drop.
Recorded fixes — secure-gate: 0.8.0-rc.1. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 0.5.0 before 0.8.0-rc.1Semantic versions | 0.8.0-rc.1 |
Version evidence: OSV · RUSTSEC-2026-0590
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.5.0"
},
{
"fixed": "0.8.0-rc.1"
}
],
"type": "SEMVER"
}
],
"versions": []
}