CVE-2024-11991 MEDIUM

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

Vendor Internet Computer
Product Motoko
Weakness CWE-908
Published December 9, 2024
Last update December 9, 2024

CVSS base score

5.6/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

December 9, 2024 CVE published
December 9, 2024 Record updated