Add advisory for triton-vm

This commit is contained in:
Jan Ferdinand Sauer
2026-06-11 12:43:00 +02:00
committed by Dirkjan Ochtman
parent 141af10375
commit f05e2e18bf

View File

@@ -0,0 +1,23 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "triton-vm"
date = "2021-06-11"
categories = ["crypto-failure"]
keywords = ["proof-system", "unsound"]
[affected.functions]
"triton_vm::verify" = ["< 4.0.0, >= 0.42.0-alpha.4"]
[versions]
patched = [">= 4.0.0"]
unaffected = ["< 0.42.0-alpha.4"]
```
# 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.