mirror of
https://github.com/rustsec/advisory-db.git
synced 2026-11-30 16:14:33 -06:00
69 lines
1.9 KiB
JSON
69 lines
1.9 KiB
JSON
[
|
|
{
|
|
"id": "RUSTSEC-2024-0405",
|
|
"modified": "2025-10-28T06:02:18Z",
|
|
"published": "2024-07-18T12:00:00Z",
|
|
"aliases": [
|
|
"GHSA-fwfx-rrv8-crpf"
|
|
],
|
|
"related": [],
|
|
"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.\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": "rustyscript",
|
|
"purl": "pkg:cargo/rustyscript"
|
|
},
|
|
"ecosystem_specific": {
|
|
"affects": {
|
|
"arch": [],
|
|
"os": [],
|
|
"functions": []
|
|
},
|
|
"affected_functions": null
|
|
},
|
|
"database_specific": {
|
|
"categories": [
|
|
"denial-of-service"
|
|
],
|
|
"cvss": null,
|
|
"informational": null
|
|
},
|
|
"ranges": [
|
|
{
|
|
"type": "SEMVER",
|
|
"events": [
|
|
{
|
|
"introduced": "0.3.1-0"
|
|
},
|
|
{
|
|
"fixed": "0.6.1"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"versions": []
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"type": "PACKAGE",
|
|
"url": "https://crates.io/crates/rustyscript"
|
|
},
|
|
{
|
|
"type": "ADVISORY",
|
|
"url": "https://rustsec.org/advisories/RUSTSEC-2024-0405.html"
|
|
},
|
|
{
|
|
"type": "REPORT",
|
|
"url": "https://github.com/rscarson/rustyscript/issues/174"
|
|
}
|
|
],
|
|
"database_specific": {
|
|
"license": "CC0-1.0"
|
|
}
|
|
}
|
|
] |