GHSA-fwfx-rrv8-crpf
medium
op_panic in the base runtime can force a panic in the runtime's containing thread
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2024-0405
Description
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.
It can be fixed by stubbing out the exposed op:
Deno.core.ops.op_panic = (msg) => { throw new Error(msg) };
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rustyscript (crates.io) | from 0.4.0 before 0.6.1, from 0.3.1-0 before 0.6.1 | GitHub Advisory Database, RustSec Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-fwfx-rrv8-crpf changed 2025-10-28 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2024-0405 changed 2025-10-28 | CC0-1.0 |