GHSA-fwfx-rrv8-crpf

Suggest an improvement
Source
https://github.com/advisories/GHSA-fwfx-rrv8-crpf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-fwfx-rrv8-crpf/GHSA-fwfx-rrv8-crpf.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-fwfx-rrv8-crpf
Published
2024-12-04T18:37:39Z
Modified
2024-12-04T18:37:39Z
Summary
op_panic in the base runtime can force a panic in the runtime's containing thread
Details

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) };
Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-12-04T18:37:39Z"
}
References

Affected packages

crates.io / rustyscript

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.4.0
Fixed
0.6.1