Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-xc76-5pf9-mx8m

Опубликовано: 14 мар. 2025
Источник: github
Github: Прошло ревью
CVSS4: 8.7

Описание

In Azle, calling setTimer causes infinite loop of timers

Impact

Calling setTimer in Azle versions 0.27.0, 0.28.0, and 0.29.0 causes an immediate infinite loop of timers to be executed on the canister, each timer attempting to clean up the global state of the previous timer.

The infinite loop will occur with any valid invocation of setTimer.

Patches

The problem has been fixed as of Azle version 0.30.0.

Workarounds

If a canister is caught in this infinite loop after calling setTimer, the canister can be upgraded and the timers will all be cleared, thus ending the loop.

Пакеты

Наименование

azle

npm
Затронутые версииВерсия исправления

>= 0.27.0, < 0.30.0

0.30.0

EPSS

Процентиль: 21%
0.0007
Низкий

8.7 High

CVSS4

Дефекты

CWE-835

Связанные уязвимости

nvd
11 месяцев назад

Azle is a WebAssembly runtime for TypeScript and JavaScript on ICP. Calling `setTimer` in Azle versions `0.27.0`, `0.28.0`, and `0.29.0` causes an immediate infinite loop of timers to be executed on the canister, each timer attempting to clean up the global state of the previous timer. The infinite loop will occur with any valid invocation of `setTimer`. The problem has been fixed as of Azle version `0.30.0`. As a workaround, if a canister is caught in this infinite loop after calling `setTimer`, the canister can be upgraded and the timers will all be cleared, thus ending the loop.

EPSS

Процентиль: 21%
0.0007
Низкий

8.7 High

CVSS4

Дефекты

CWE-835