Use-After-Free in str_escape in mruby/mruby in GitHub repository mruby/mruby prior to 3.2. Possible arbitrary code execution if being exploited.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://huntr.dev/bounties/9fcc06d0-08e4-49c8-afda-2cae40946abe | patch exploit third party advisory issue tracking |
https://github.com/mruby/mruby/commit/3cf291f72224715942beaf8553e42ba8891ab3c6 | third party advisory patch |