{"id":"GHSA-4mw5-2636-4535","summary":"op_panic in the base runtime can force a panic in the runtime's containing thread","details":"Affected versions use deno_core releases that expose `Deno.core.ops.op_panic` to the JS runtime in the base core\n\nThis function when called triggers a manual panic in the thread containing the runtime, breaking sandboxing\n\nIt can be fixed by stubbing out the exposed op:\n```javascript\nDeno.core.ops.op_panic = (msg) =\u003e { throw new Error(msg) };\n```","aliases":["RUSTSEC-2024-0403"],"modified":"2025-10-28T06:29:23.047131Z","published":"2024-12-04T18:36:38Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2024-12-04T18:36:38Z","nvd_published_at":null,"cwe_ids":[]},"references":[{"type":"WEB","url":"https://github.com/Bromeon/js-sandbox/issues/31"},{"type":"PACKAGE","url":"https://github.com/Bromeon/js-sandbox"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2024-0403.html"}],"affected":[{"package":{"name":"js-sandbox","ecosystem":"crates.io","purl":"pkg:cargo/js-sandbox"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-4mw5-2636-4535/GHSA-4mw5-2636-4535.json"}}],"schema_version":"1.9.0"}