{"id":"CVE-2024-11991","state":"PUBLISHED","title":"Uninitialized memory access in Motoko incremental garbage collector","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.","publishedAt":"2024-12-09T14:38:07.288Z","updatedAt":"2024-12-09T15:07:37.640Z","severity":{"score":5.6,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"Dfinity"},"assigner":"Dfinity","products":["Internet Computer Motoko"],"affected":[{"vendor":"Internet Computer","product":"Motoko","packageName":"moc","defaultStatus":"unaffected","versions":[{"version":"0.9.0","status":"affected","lessThanOrEqual":"0.13.3","versionType":"semver"}]}],"references":["https://github.com/dfinity/motoko/pull/4677","https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3"],"weaknesses":["CWE-908"],"ingestedAt":"2026-10-29T20:06:50.777Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/11xxx/CVE-2024-11991.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-11991","state":"PUBLISHED","datePublished":"2024-12-09T14:38:07.288Z","dateUpdated":"2024-12-09T15:07:37.640Z","assignerShortName":"Dfinity","assignerOrgId":"6b35d637-e00f-4228-858c-b20ad6e1d07b","dateReserved":"2024-11-29T10:02:19.279Z"},"containers":{"cna":{"title":"Uninitialized memory access in Motoko incremental garbage collector","descriptions":[{"lang":"en","value":"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":[{"vendor":"Internet Computer","product":"Motoko","packageName":"moc","defaultStatus":"unaffected","versions":[{"version":"0.9.0","status":"affected","lessThanOrEqual":"0.13.3","versionType":"semver"}]}],"references":[{"url":"https://github.com/dfinity/motoko/pull/4677"},{"url":"https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-908","description":"CWE-908 Use of Uninitialized Resource","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Dfinity","orgId":"6b35d637-e00f-4228-858c-b20ad6e1d07b","dateUpdated":"2024-12-09T14:38:07.288Z"},"impacts":[{"capecId":"CAPEC-131","descriptions":[{"lang":"en","value":"CAPEC-131 Resource Leak Exposure"}]}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Disable incremental garbage collector and enhanced orthogonal persistence. i.e. do <strong>not compile</strong>&nbsp;with&nbsp;<i>—incremental-gc</i> or <i>--enhanced-orthogonal-persistence</i> options.</p>"}],"value":"Disable incremental garbage collector and enhanced orthogonal persistence. i.e. do not compile with —incremental-gc or --enhanced-orthogonal-persistence options."}],"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-09T15:07:27.354775Z","id":"CVE-2024-11991","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-09T15:07:37.640Z"}}]}}}