GHSA-fwfx-rrv8-crpf op_panic in the base runtime can force a panic in the runtime's containing thread
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
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) };
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io rustyscript(crates.io) | >= 0.3.1-0, < 0.6.1; >= 0.4.0, < 0.6.1 | 0.6.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io rustyscript(crates.io) | >= 0.4.0, < 0.6.1 | 0.6.1 |
| crates.io rustyscript(crates.io) | >= 0.3.1-0, < 0.6.1 | 0.6.1 |
References
- github.com issue-tracking
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com