mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-07-22 01:06:54 -04:00
Add advisory for triton-vm
This commit is contained in:
committed by
Dirkjan Ochtman
parent
141af10375
commit
f05e2e18bf
23
crates/triton-vm/RUSTSEC-0000-0000.md
Normal file
23
crates/triton-vm/RUSTSEC-0000-0000.md
Normal 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.
|
||||
Reference in New Issue
Block a user