GHSA-4mw5-2636-4535: 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, breaking sandboxing It can be fixed by stubbing out the exposed op:
Published Dec 4, 2024
Affected packages
js-sandbox
- Ecosystem
- Rust (crates.io)
- Affected
- <= 0.1.6
- Fixed in
- No patched version yet
- Check
cargo tree -i js-sandbox
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, breaking sandboxing
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
