Vulnerability · Published Dec 9, 2024 · Assigned by Dfinity

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

Medium 5.6

In plain English

A medium-severity security flaw in Motoko from Internet Computer. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities).

Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)0.2%top 84.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
Internet Computer Motoko 0.9.0 – through 0.13.3

Weakness: CWE-908 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

References