Security mailing lists by PureSourceCode

GHSA-4mw5-2636-4535

MEDIUM

op_panic in the base runtime can force a panic in the runtime's containing thread

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, breaking sandboxing

It can be fixed by stubbing out the exposed op:

Deno.core.ops.op_panic = (msg) => { throw new Error(msg) };
Published
18 Jul 2024
Last modified
28 Oct 2025
Also known as
RUSTSEC-2024-0403
Sources
OSVJSONOSV RUSTSEC-2024-0403JSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io js-sandbox <= 0.1.6
OSV crates.io js-sandbox >= 0.0.0-0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Jul 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Dec 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.