CVE-2024-11991
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Internet Computer | Motoko | 0.9.0 <= 0.13.3 | affected |
Weaknesses
- CWE-908: CWE-908 Use of Uninitialized Resource
Workarounds
Disable incremental garbage collector and enhanced orthogonal persistence. i.e. do not compile with —incremental-gc or –enhanced-orthogonal-persistence options.
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
References
- https://github.com/dfinity/motoko/pull/4677
- https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.