GHSA-4mw5-2636-4535
MEDIUMop_panic in the base runtime can force a panic in the runtime's containing thread
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) };
- Published
- 18 Jul 2024
- Last modified
- 28 Oct 2025
- Also known as
- RUSTSEC-2024-0403
- Sources
- OSVJSONOSV RUSTSEC-2024-0403JSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | js-sandbox | <= 0.1.6 | |
| OSV | crates.io | js-sandbox | >= 0.0.0-0 |
References
- https://github.com/Bromeon/js-sandbox/issues/31 · WEB, REPORT
- https://github.com/Bromeon/js-sandbox · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2024-0403.html · WEB, ADVISORY
- https://crates.io/crates/js-sandbox · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Dec 2024)