triton-vm
Affected
- introduced
0.42.0-alpha.4, fixed4.0.0(semver)
Fixed versions
4.0.0
Fix
- Fixed version
4.0.0cargo update -p triton-vm --precise 4.0.0
Advisory
Also known as: GHSA-vjf8-9fx6-mv6x
Triton VM Soundness Vulnerability due to Missing Constraint
The instruction sponge_absorb_mem Triton VM fails to verify that hashed values come from the claimed memory location. Malicious provers can substitute arbitrary data instead of actual memory contents.
Any application using instruction sponge_absorb_mem to hash memory data can be given a proof for a forged hash that doesn't correspond to the actual memory. This breaks the security of memory-based commitments.
The flaw was corrected in commits 17c7ba0a and ef9d9e72 by including the appropriate constraints.
Not rated by the source.
0.42.0-alpha.4, fixed 4.0.0 (semver)4.0.0
4.0.0cargo update -p triton-vm --precise 4.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