{"answers":{"affected":"2 open source packages ship an affected version, including azle.","exploited":"There is no known exploitation of CVE-2025-29776 in the wild and no public exploit code.","fix":"Upgrade azle to 0.30.0 or later.","what":"CVE-2025-29776 is a high-severity vulnerability in demergent-labs azle, published on 14 Mar 2025."},"fix_prompt":"Check this codebase for CVE-2025-29776 and fix it if it is affected.\n\nWhat it is: CVE-2025-29776 is a high-severity vulnerability in demergent-labs azle, published on 14 Mar 2025. \nExploitation: There is no known exploitation of CVE-2025-29776 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- azle (npm): affected from 0.27.0; fixed in 0.30.0\n- azle (npm): affected from 0.27.0; fixed in 0.30.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-29776/ (Markdown: https://insights.sbomify.com/CVE-2025-29776/index.md)","id":"CVE-2025-29776","markdown":"https://insights.sbomify.com/CVE-2025-29776/index.md","name":"CVE-2025-29776","record":{"aliases":["GHSA-xc76-5pf9-mx8m"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L","version":"4.0"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Azle calling `setTimer` causes infinite loop of timers","id":"CVE-2025-29776","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2025"},"n_packages":2,"n_references":2,"next":{"headline":"Kyverno ignores subjectRegExp and IssuerRegExp","id":"CVE-2025-29778"},"packages":[{"ecosystem":"npm","fixed":["0.30.0"],"introduced":["0.27.0"],"last_affected":[],"package":"azle","purl":null,"source":"GHSA-xc76-5pf9-mx8m"},{"ecosystem":"npm","fixed":["0.30.0"],"introduced":["0.27.0"],"last_affected":[],"package":"azle","purl":"pkg:npm/azle","source":"GHSA-xc76-5pf9-mx8m"}],"prev":{"headline":"xml-crypto Vulnerable to XML Signature Verification Bypass via DigestValue Comment","id":"CVE-2025-29775"},"products":["azle"],"published":"2025-03-14","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-15","vendors":["demergent-labs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2025-29776/"}