Advisory

GHSA-xc76-5pf9-mx8m

Also known as: CVE-2025-29776

Summary

In Azle, calling setTimer causes infinite loop of timers

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-03-14 17:31 UTC
Modified
2025-03-15 20:47 UTC

Affected packages and fixes

azle

npm · All systems

Affected

  • introduced 0.27.0, fixed 0.30.0 (semver)

Fixed versions

0.30.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences