GHSA-fwfx-rrv8-crpf: op_panic in the base runtime can force a panic in the runtime's containing thread
Affected versions use denocore releases that expose Deno.core.ops.oppanic to the JS runtime in the base core This function when called triggers a manual panic in the thread containing the runtime. It can be fixed by stubbing out the exposed op:
Published Dec 4, 2024
Affected packages
rustyscript
- Ecosystem
- Rust (crates.io)
- Affected
- >= 0.4.0, < 0.6.1
- Fixed in
- 0.6.1
- Check
cargo tree -i rustyscript
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Affected versions use deno_core releases that expose Deno.core.ops.op_panic to the JS runtime in the base core
This function when called triggers a manual panic in the thread containing the runtime.
It can be fixed by stubbing out the exposed op:
Deno.core.ops.op_panic = (msg) => { throw new Error(msg) };References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
