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
Hi. Sorry for the delay on this. We had a PR that never got merged due to other concerns and a lack of dimension of the problem. I just last night had the realization of how this could be exploited to bring down the service. I'll have a fix ready shortly that should work better than what we have.
'capacity overflow' panic during Memory insertion (segment.resize)
We (@FuzzingLabs) found a 'capacity overflow' panic in cairo-rs v0.1.13 during Memory insertion (
segment.resize
):Expected Behavior
It should not crash.
Your Environment
Steps to reproduce
Download:
basic.zip
Testing program:
Root cause
Related code: https://github.com/lambdaclass/cairo-rs/blob/8dba86dbec935fa04a255e2edf3d5d184950fa22/src/vm/vm_memory/memory.rs#L64-L68
Detailed behavior (RUST_BACKTRACE=1)
The text was updated successfully, but these errors were encountered: