What’s Vulnerable › Vulnerabilities

CVE-2024-11991: Uninitialized memory access in Motoko incremental garbage collector

Description

Motoko's incremental garbage collector is impacted by an uninitialized memory access bug, caused by incorrect use of write barriers in a few locations. This vulnerability could potentially allow unauthorized read or write access to a Canister's memory. However, exploiting this bug requires the Canister to enable the incremental garbage collector or enhanced orthogonal persistence, which are non-default features in Motoko.

Affected products

How to fix

Upgrade to a fixed version: Internet Computer Motoko 0.13.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-11991 or the next vulnerability affects your stack