Uninitialized memory access in Motoko incremental garbage collector
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Internet Computer | Motoko | unaffected |
|
No data.
No data available yet.
Vendor Workaround
Disable incremental garbage collector and enhanced orthogonal persistence. i.e. do not compile with —incremental-gc or --enhanced-orthogonal-persistence options.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-34242 | 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. |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.244% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Dfinity
Dfinity motoko |
|
| CPEs | cpe:2.3:a:dfinity:motoko:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Dfinity
Dfinity motoko |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Uninitialized memory access in Motoko incremental garbage collector | |
| Weaknesses | CWE-908 | |
| References |
| |
| Metrics |
cvssV3_1
|