BLAKE2b produces wrong tag when using reset() with a different-length key
hazardous::mac::blake2b::Blake2b::reset() does not correctly reset the state when a key is supplied that has a different length than the one used upon initialization with hazardous::mac::blake2b::Blake2b::new(), because it errorneously uses a cached length.
Recorded fixes — orion: 0.17.16 or 0.18.1. Check your release branch.
Exploitation not established
| Affected range | Recorded fix |
|---|---|
| From 0.0.0-0 before 0.17.16Semantic versions | 0.17.16 |
| From 0.18.0-0 before 0.18.1Semantic versions | 0.18.1 |
Version evidence: OSV · RUSTSEC-2026-0428
View original version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0.0.0-0"
},
{
"fixed": "0.17.16"
},
{
"introduced": "0.18.0-0"
},
{
"fixed": "0.18.1"
}
],
"type": "SEMVER"
}
],
"versions": []
}