{"id":"GHSA-fwfx-rrv8-crpf","aliases":["GHSA-fwfx-rrv8-crpf","RUSTSEC-2024-0405"],"related":[],"kind":"vulnerability","state":"published","title":"op_panic in the base runtime can force a panic in the runtime's containing thread","summary":"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.\n\nIt can be fixed by stubbing out the exposed op:\n```javascript\nDeno.core.ops.op_panic = (msg) => { throw new Error(msg) };\n```","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\nIt can be fixed by stubbing out the exposed op:\n```javascript\nDeno.core.ops.op_panic = (msg) => { throw new Error(msg) };\n```","format":"markdown","source":"ghsa"}],"published":"2024-07-18T12:00:00.000Z","modified":"2025-10-28T06:29:24.524Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.4.0","status":"affected","fixed":"0.6.1"}],"ecosystem":"crates.io","package":"rustyscript","purl":"pkg:cargo/rustyscript","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.3.1-0","status":"affected","fixed":"0.6.1"}],"ecosystem":"crates.io","package":"rustyscript","purl":"pkg:cargo/rustyscript","source":"rustsec"}],"references":[{"url":"https://github.com/rscarson/rustyscript/issues/174","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/rscarson/rustyscripthttps://github.com/rscarson/rustyscript","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2024-0405.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/rustyscript","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fwfx-rrv8-crpf","url":"https://github.com/advisories/GHSA-fwfx-rrv8-crpf","licence":"CC-BY-4.0","modified":"2025-10-28T06:29:24.524Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2024-0405","url":"https://rustsec.org/advisories/RUSTSEC-2024-0405.html","licence":"CC0-1.0","modified":"2025-10-28T06:29:24.524Z"}],"updatedAt":"2026-11-25T22:56:43.225Z"}