The Miniscript (aka rust-miniscript) library before 12.2.0 for Rust allows stack consumption because it does not properly track tree depth.
The product writes data past the end, or before the beginning, of the intended buffer.
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Link | Tags |
---|---|
https://github.com/rust-bitcoin/rust-miniscript/pull/712 | patch issue tracking |
https://github.com/rust-bitcoin/rust-miniscript/pull/704 | patch issue tracking |
https://github.com/rust-bitcoin/rust-miniscript/compare/11.2.0...12.2.0 | patch |