You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the code executed during MASP transaction validation is unsafe and could be exploited to crash a node. More specifically, the following lines may be problematic:
. A client may inadvertently or maliciously place an invalid spend description ZK-proof into a transaction causing a node to crash. More specifically, placing invalid group elements into the ZK-proof could trigger crashing.
Analogous issue to above, but for output descriptions at:
) is probably valid, it will crash a node if the MASP crate returns a vector with unexpected length. Maybe it would be better to just log an error and reject a transaction triggering this (hopefully impossible) condition?
These are the unsafe operations (acting on untrusted inputs) I've seen so far. cc @gijswijs@juped
The text was updated successfully, but these errors were encountered:
Some of the code executed during MASP transaction validation is unsafe and could be exploited to crash a node. More specifically, the following lines may be problematic:
namada/shared/src/ledger/masp.rs
Line 101 in 8e830ef
namada/shared/src/ledger/masp.rs
Line 121 in 8e830ef
namada/shared/src/ledger/masp.rs
Line 138 in 8e830ef
namada/shared/src/ledger/masp.rs
Line 108 in 8e830ef
Additionally, while the type conversion of sighashes (at
namada/shared/src/ledger/masp.rs
Line 156 in 8e830ef
These are the unsafe operations (acting on untrusted inputs) I've seen so far. cc @gijswijs @juped
The text was updated successfully, but these errors were encountered: