# GHSA-fwfx-rrv8-crpf: op_panic in the base runtime can force a panic in the runtime's containing thread

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-07-18T12:00:00.000Z
- Modified: 2025-10-28T06:29:24.524Z
- 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:
```javascript
Deno.core.ops.op_panic = (msg) => { throw new Error(msg) };
```

(As written by GitHub Advisory Database.)

## Affected

- rustyscript (crates.io): from 0.4.0 before 0.6.1; from 0.3.1-0 before 0.6.1

## References

- <https://github.com/rscarson/rustyscript/issues/174> (report, web)
- <https://github.com/rscarson/rustyscripthttps://github.com/rscarson/rustyscript> (package)
- <https://rustsec.org/advisories/RUSTSEC-2024-0405.html> (advisory, web)
- <https://crates.io/crates/rustyscript> (package)

## Sources

- GitHub Advisory Database: [GHSA-fwfx-rrv8-crpf](https://github.com/advisories/GHSA-fwfx-rrv8-crpf), CC-BY-4.0, modified 2025-10-28
- RustSec Advisory Database: [RUSTSEC-2024-0405](https://rustsec.org/advisories/RUSTSEC-2024-0405.html), CC0-1.0, modified 2025-10-28

---

Page: https://cve.day/GHSA-fwfx-rrv8-crpf · Whole record: https://cve.day/GHSA-fwfx-rrv8-crpf.json · Rebuilt by cve.day 2026-11-25T22:56:43.225Z
