همهٔ گزارش‌ها
متوسط

op_panic in the base runtime can force a panic in the runtime's containing thread

متن اصلی

نسخه‌های متأثر

بازه‌ها نیاز به بررسی دارند.

Rust / Cargorustyscript
نسخه‌های متأثر
>= 0.4.0, < 0.6.1
نسخهٔ اصلاح‌شده
0.6.1
Rust / Cargorustyscript
نسخه‌های متأثر
>=0.3.1-0 <0.6.1
نسخهٔ اصلاح‌شده
0.6.1

شرح آسیب‌پذیری

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) };

پیوندها