GHSA-fwfx-rrv8-crpf
JSON

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 packageVersionsReported by
rustyscript (crates.io)from 0.4.0 before 0.6.1, from 0.3.1-0 before 0.6.1GitHub Advisory Database, RustSec Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-fwfx-rrv8-crpf changed 2025-10-28CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2024-0405 changed 2025-10-28CC0-1.0