op_panic in the base runtime can force a panic in the runtime's containing thread
Moderate severity
GitHub Reviewed
Published
Dec 4, 2024
to the GitHub Advisory Database
•
Updated Dec 4, 2024
Description
Published to the GitHub Advisory Database
Dec 4, 2024
Reviewed
Dec 4, 2024
Last updated
Dec 4, 2024
Affected versions use deno_core releases that expose
Deno.core.ops.op_panic
to the JS runtime in the base coreThis 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:
References