CVE-2024-11991: Motoko - Unauthorized Memory Access
- Cve: CVE-2024-11991
- Name: Motoko - Unauthorized Memory Access
- 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.
- Impact: Potential unauthorized memory access could lead to data leakage or corruption within Canisters.
- Remediation: Update to the latest version of Motoko with fixed garbage collector implementation.
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Epss score: 0.00244
- Epss percentile: 0.15687
- Assignee: 6b35d637-e00f-4228-858c-b20ad6e1d07b
- Published at: 2024-12-09T15:15:12Z
- Age in days: 715
- Modified at: 2026-06-17T06:58:50Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-11991
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-908 | Use of Uninitialized Resource |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/dfinity/motoko/pull/4677 | nvd | Issue Tracking, Patch |
| https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| dfinity:motoko | >= 0.9.0, < 0.13.4 | no | nvd | /v1/products/dfinity/motoko |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| dfinity/motoko | pull, security_advisory | yes | /v1/repositories/dfinity/motoko |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts