GHSA-vjf8-9fx6-mv6x Triton VM Soundness Vulnerability due to Missing Constraint
MediumCVSS 6.9
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io triton-vm(crates.io) | >= 0.42.0-alpha.4, < 4.0.0 | 4.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io triton-vm(crates.io) | >= 0.42.0-alpha.4, < 4.0.0 | 4.0.0 |
References
- github.com patch
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com