CVEvulnerability
CVE-2024-11991
6.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-12-09
- Last modified
- 2026-06-17
- Assigner
- 6b35d637-e00f-4228-858c-b20ad6e1d07b
- CVSS 3.1 (6b35d637-e00f-4228-858c-b20ad6e1d07b)
- 5.6 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-908
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 configurations
• dfinity motoko (>= 0.9.0 < 0.13.4)
Related
Weakness · CWE (1)
- CWE-908 Use of Uninitialized Resource weakness
References
- https://github.com/dfinity/motoko/pull/4677 Issue Tracking, Patch
- https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3 Vendor Advisory