Publish GHSA-4mw5-2636-4535

This commit is contained in:
advisory-database[bot]
2024-12-04 18:37:45 +00:00
parent 5f0abff196
commit ef291f38ba
@@ -0,0 +1,52 @@
{
"schema_version": "1.4.0",
"id": "GHSA-4mw5-2636-4535",
"modified": "2024-12-04T18:36:38Z",
"published": "2024-12-04T18:36:38Z",
"aliases": [],
"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\n\nThis function when called triggers a manual panic in the thread containing the runtime, breaking sandboxing\n\nIt can be fixed by stubbing out the exposed op:\n```javascript\nDeno.core.ops.op_panic = (msg) => { throw new Error(msg) };\n```",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "js-sandbox"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.1.6"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/Bromeon/js-sandbox/issues/31"
},
{
"type": "PACKAGE",
"url": "https://github.com/Bromeon/js-sandbox"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2024-0403.html"
}
],
"database_specific": {
"cwe_ids": [],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2024-12-04T18:36:38Z",
"nvd_published_at": null
}
}