diff --git a/advisories/github-reviewed/2024/12/GHSA-4mw5-2636-4535/GHSA-4mw5-2636-4535.json b/advisories/github-reviewed/2024/12/GHSA-4mw5-2636-4535/GHSA-4mw5-2636-4535.json new file mode 100644 index 00000000000..f032f007066 --- /dev/null +++ b/advisories/github-reviewed/2024/12/GHSA-4mw5-2636-4535/GHSA-4mw5-2636-4535.json @@ -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 + } +} \ No newline at end of file