Infinite loop Affecting azle package, versions >=0.27.0 <0.30.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-AZLE-9459042
  • published16 Mar 2025
  • disclosed14 Mar 2025
  • creditUnknown

Introduced: 14 Mar 2025

NewCVE-2025-29776  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade azle to version 0.30.0 or higher.

Overview

azle is a TypeScript and JavaScript CDK for the Internet Computer

Affected versions of this package are vulnerable to Infinite loop through the setTimer function. An attacker can cause the system to enter an infinite loop by invoking this function with any valid parameters.

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.

CVSS Base Scores

version 4.0
version 3.1