CVE-2024-11991 (GCVE-0-2024-11991)
Vulnerability from cvelistv5 – Published: 2024-12-09 14:38 – Updated: 2024-12-09 15:07
VLAI
EPSS
VEX
Title
Uninitialized memory access in Motoko incremental garbage collector
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.
Severity
5.6 (Medium)
SSVC
Exploitation: none
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-12-09 15:07 UTC
CWE
- CWE-908 - Use of Uninitialized Resource
Assigner
References
Impacted products
1 product
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Internet Computer | Motoko |
Affected:
0.9.0 , ≤ 0.13.3
(semver)
|
guessed |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-11991",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-12-09T15:07:27.354775Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-12-09T15:07:37.640Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageName": "moc",
"product": "Motoko",
"vendor": "Internet Computer",
"versions": [
{
"lessThanOrEqual": "0.13.3",
"status": "affected",
"version": "0.9.0",
"versionType": "semver"
}
]
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003e\u003c/p\u003e\u003cp\u003eMotoko\u0027s 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\u0027s 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.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e"
}
],
"value": "Motoko\u0027s 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\u0027s 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."
}
],
"impacts": [
{
"capecId": "CAPEC-131",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-131 Resource Leak Exposure"
}
]
}
],
"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": {
"dateUpdated": "2024-12-09T14:38:07.288Z",
"orgId": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"shortName": "Dfinity"
},
"references": [
{
"url": "https://github.com/dfinity/motoko/pull/4677"
},
{
"url": "https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "Uninitialized memory access in Motoko incremental garbage collector",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eDisable incremental garbage collector and enhanced orthogonal persistence. i.e. do \u003cstrong\u003enot compile\u003c/strong\u003e\u0026nbsp;with\u0026nbsp;\u003ci\u003e\u2014incremental-gc\u003c/i\u003e or \u003ci\u003e--enhanced-orthogonal-persistence\u003c/i\u003e options.\u003c/p\u003e"
}
],
"value": "Disable incremental garbage collector and enhanced orthogonal persistence. i.e. do not compile\u00a0with\u00a0\u2014incremental-gc or --enhanced-orthogonal-persistence options."
}
],
"x_generator": {
"engine": "Vulnogram 0.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"assignerShortName": "Dfinity",
"cveId": "CVE-2024-11991",
"datePublished": "2024-12-09T14:38:07.288Z",
"dateReserved": "2024-11-29T10:02:19.279Z",
"dateUpdated": "2024-12-09T15:07:37.640Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2024-11991",
"date": "2026-09-18",
"epss": "0.00244",
"percentile": "0.15939"
},
"fkie_nvd": {
"descriptions": [
{
"lang": "en",
"value": "Motoko\u0027s 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\u0027s 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."
},
{
"lang": "es",
"value": "El recolector de basura incremental de Motoko se ve afectado por un error de acceso a memoria no inicializada, causado por el uso incorrecto de barreras de escritura en algunas ubicaciones. Esta vulnerabilidad podr\u00eda permitir el acceso de lectura o escritura no autorizado a la memoria de un contenedor. Sin embargo, para explotar este error, es necesario que el contenedor habilite el recolector de basura incremental o la persistencia ortogonal mejorada, que son funciones no predeterminadas en Motoko."
}
],
"id": "CVE-2024-11991",
"lastModified": "2024-12-09T15:15:12.203",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"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"
},
"exploitabilityScore": 2.2,
"impactScore": 3.4,
"source": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"type": "Secondary"
}
]
},
"published": "2024-12-09T15:15:12.203",
"references": [
{
"source": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"url": "https://github.com/dfinity/motoko/pull/4677"
},
{
"source": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"url": "https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3"
}
],
"sourceIdentifier": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-908"
}
],
"source": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"type": "Secondary"
}
]
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"packageName": "moc",
"product": "Motoko",
"vendor": "Internet Computer",
"versions": [
{
"lessThanOrEqual": "0.13.3",
"status": "affected",
"version": "0.9.0",
"versionType": "semver"
}
]
}
],
"source": "6b35d637-e00f-4228-858c-b20ad6e1d07b"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:dfinity:motoko:*:*:*:*:*:*:*:*",
"matchCriteriaId": "00F86BCE-31BC-463B-8CF2-9F581168793D",
"versionEndExcluding": "0.13.4",
"versionStartIncluding": "0.9.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Motoko\u0027s 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\u0027s 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."
},
{
"lang": "es",
"value": "El recolector de basura incremental de Motoko se ve afectado por un error de acceso a memoria no inicializada, causado por el uso incorrecto de barreras de escritura en algunas ubicaciones. Esta vulnerabilidad podr\u00eda permitir el acceso de lectura o escritura no autorizado a la memoria de un contenedor. Sin embargo, para explotar este error, es necesario que el contenedor habilite el recolector de basura incremental o la persistencia ortogonal mejorada, que son funciones no predeterminadas en Motoko."
}
],
"id": "CVE-2024-11991",
"lastModified": "2026-06-17T06:58:50.457",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"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"
},
"exploitabilityScore": 2.2,
"impactScore": 3.4,
"source": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"type": "Secondary"
},
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 2.5,
"source": "nvd@nist.gov",
"type": "Primary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2024-11991",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-12-09T15:07:27.354775Z",
"version": "2.0.3"
}
}
]
},
"published": "2024-12-09T15:15:12.203",
"references": [
{
"source": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"tags": [
"Issue Tracking",
"Patch"
],
"url": "https://github.com/dfinity/motoko/pull/4677"
},
{
"source": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"tags": [
"Vendor Advisory"
],
"url": "https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3"
}
],
"sourceIdentifier": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"vulnStatus": "Analyzed",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-908"
}
],
"source": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"type": "Secondary"
}
]
}
},
"redhat_vex": {
"current_release_date": "2025-05-28T19:35:50+00:00",
"cve": "CVE-2024-11991",
"id": "CVE-2024-11991",
"initial_release_date": "2024-01-01T00:00:00+00:00",
"product_status:known_not_affected": "1",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "Uninitialized memory access in Motoko incremental garbage collector",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-11991.json",
"version": "3"
},
"vulnrichment": {
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-11991",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-12-09T15:07:27.354775Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-12-09T15:07:34.136Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageName": "moc",
"product": "Motoko",
"vendor": "Internet Computer",
"versions": [
{
"lessThanOrEqual": "0.13.3",
"status": "affected",
"version": "0.9.0",
"versionType": "semver"
}
]
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003e\u003c/p\u003e\u003cp\u003eMotoko\u0027s 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\u0027s 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.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e"
}
],
"value": "Motoko\u0027s 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\u0027s 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."
}
],
"impacts": [
{
"capecId": "CAPEC-131",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-131 Resource Leak Exposure"
}
]
}
],
"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": {
"dateUpdated": "2024-12-09T14:38:07.288Z",
"orgId": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"shortName": "Dfinity"
},
"references": [
{
"url": "https://github.com/dfinity/motoko/pull/4677"
},
{
"url": "https://github.com/dfinity/motoko/security/advisories/GHSA-9rhg-3qf8-hrv3"
}
],
"source": {
"discovery": "UNKNOWN"
},
"title": "Uninitialized memory access in Motoko incremental garbage collector",
"workarounds": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003eDisable incremental garbage collector and enhanced orthogonal persistence. i.e. do \u003cstrong\u003enot compile\u003c/strong\u003e\u0026nbsp;with\u0026nbsp;\u003ci\u003e\u2014incremental-gc\u003c/i\u003e or \u003ci\u003e--enhanced-orthogonal-persistence\u003c/i\u003e options.\u003c/p\u003e"
}
],
"value": "Disable incremental garbage collector and enhanced orthogonal persistence. i.e. do not compile\u00a0with\u00a0\u2014incremental-gc or --enhanced-orthogonal-persistence options."
}
],
"x_generator": {
"engine": "Vulnogram 0.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "6b35d637-e00f-4228-858c-b20ad6e1d07b",
"assignerShortName": "Dfinity",
"cveId": "CVE-2024-11991",
"datePublished": "2024-12-09T14:38:07.288Z",
"dateReserved": "2024-11-29T10:02:19.279Z",
"dateUpdated": "2024-12-09T15:07:37.640Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…