Attackathon _ Fuel Network 33172 - [Smart Contract - Insight] OOB in type_check_analyze of ImplTrait
Description
Brief/Intro
Vulnerability Details
thread 'main' panicked at sway-core/src/semantic_analysis/ast_node/declaration/impl_trait.rs:1554:45:
index out of bounds: the len is 0 but the index is 1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtracePossible Fix
Impact Details
References
Proof of concept
Step1
Step2
Step3
PreviousAttackathon _ Fuel Network 33171 - [Smart Contract - Insight] panic on unwrapping in decl_to_type_inNextAttackathon _ Fuel Network 33175 - [Smart Contract - High] Sway-lib Subtract i Logic Vulnerability
Last updated
Was this helpful?