dcrypt-algorithms
Affected
- introduced
0.0.0-0, fixed2.0.0(semver)
Fixed versions
2.0.0
Fix
- Fixed version
2.0.0cargo update -p dcrypt-algorithms --precise 2.0.0
Advisory
Also known as: GHSA-h9f2-fgp8-vc4h
Low-level GCM ignores the operation nonce
In all published versions of dcrypt-algorithms before 2.0.0, the low-levelGcm builder required an operation nonce but derived J0 from the nonce
captured by the original Gcm constructor. Multiple operations could therefore
silently reuse a nonce even when callers supplied distinct values, compromising
confidentiality and authenticity under an affected key.
Version 2.0.0 makes Gcm key-only and passes the operation nonce through IV
derivation, encryption, and decryption. It also corrects non-96-bit IV
processing, rejects tags shorter than 96 bits, and enforces counter limits.
Applications must upgrade, identify affected keys, rotate them, and re-encrypt
affected data; updating the implementation cannot restore security after nonce
reuse.
Not rated by the source.
0.0.0-0, fixed 2.0.0 (semver)2.0.0
2.0.0cargo update -p dcrypt-algorithms --precise 2.0.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0