GHSA-FWFX-RRV8-CRPF
Vulnerability from github – Published: 2024-12-04 18:37 – Updated: 2024-12-04 18:37
VLAI?
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) };
{
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "rustyscript"
},
"ranges": [
{
"events": [
{
"introduced": "0.4.0"
},
{
"fixed": "0.6.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [],
"github_reviewed": true,
"github_reviewed_at": "2024-12-04T18:37:39Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "Affected versions use deno_core releases that expose `Deno.core.ops.op_panic` to the JS runtime in the base core\n\nThis function when called triggers a manual panic in the thread containing the runtime.\n\nIt can be fixed by stubbing out the exposed op:\n```javascript\nDeno.core.ops.op_panic = (msg) =\u003e { throw new Error(msg) };\n```",
"id": "GHSA-fwfx-rrv8-crpf",
"modified": "2024-12-04T18:37:39Z",
"published": "2024-12-04T18:37:39Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/rscarson/rustyscript/issues/174"
},
{
"type": "PACKAGE",
"url": "https://github.com/rscarson/rustyscripthttps://github.com/rscarson/rustyscript"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2024-0405.html"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "op_panic in the base runtime can force a panic in the runtime\u0027s containing thread"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…