gsd-2022-39393
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime's implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. This bug has been patched and users should upgrade to Wasmtime 2.0.2. Other mitigations include disabling the pooling allocator and disabling the `memory-init-cow`.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2022-39393", "description": "Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime\u0027s implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. This bug has been patched and users should upgrade to Wasmtime 2.0.2. Other mitigations include disabling the pooling allocator and disabling the `memory-init-cow`.", "id": "GSD-2022-39393" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2022-39393" ], "details": "Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime\u0027s implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. This bug has been patched and users should upgrade to Wasmtime 2.0.2. Other mitigations include disabling the pooling allocator and disabling the `memory-init-cow`.", "id": "GSD-2022-39393", "modified": "2023-12-13T01:19:20.817204Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-39393", "STATE": "PUBLIC", "TITLE": "Wasmtime vulnerable to data leakage between instances in the pooling allocator" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "wasmtime", "version": { "version_data": [ { "version_value": "\u003c 2.0.2" } ] } } ] }, "vendor_name": "bytecodealliance" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime\u0027s implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. This bug has been patched and users should upgrade to Wasmtime 2.0.2. Other mitigations include disabling the pooling allocator and disabling the `memory-init-cow`." } ] }, "impact": { "cvss": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 8.6, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N", "version": "3.1" } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-226: Sensitive Information in Resource Not Removed Before Reuse" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf", "refsource": "CONFIRM", "url": "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf" }, { "name": "https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0", "refsource": "MISC", "url": "https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0" } ] }, "source": { "advisory": "GHSA-wh6w-3828-g9qf", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c1.0.2||\u003e=2.0.0 \u003c2.0.2", "affected_versions": "All versions before 1.0.2, all versions starting from 2.0.0 before 2.0.2", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N", "cwe_ids": [ "CWE-1035", "CWE-212", "CWE-937" ], "date": "2022-11-17", "description": "Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime\u0027s implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. This bug has been patched and users should upgrade to Wasmtime 2.0.2. Other mitigations include disabling the pooling allocator and disabling the `memory-init-cow`.", "fixed_versions": [], "identifier": "CVE-2022-39393", "identifiers": [ "CVE-2022-39393", "GHSA-wh6w-3828-g9qf" ], "not_impacted": "", "package_slug": "conan/wasmtime", "pubdate": "2022-11-10", "solution": "Unfortunately, there is no solution available on conan yet.", "title": "Improper Removal of Sensitive Information Before Storage or Transfer", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-39393", "https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0", "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf" ], "uuid": "ecadf804-cae6-4ef9-a073-470f6cfb6075" }, { "affected_range": "\u003cv1.0.2 || \u003e=v2.0.0 \u003cv2.0.2", "affected_versions": "All versions before 1.0.2, all versions starting from 2.0.0 before 2.0.2", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N", "cwe_ids": [ "CWE-1035", "CWE-212", "CWE-937" ], "date": "2022-11-17", "description": "Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime\u0027s implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. This bug has been patched and users should upgrade to Wasmtime 2.0.2. Other mitigations include disabling the pooling allocator and disabling the `memory-init-cow`.", "fixed_versions": [ "v1.0.2", "v2.0.2" ], "identifier": "CVE-2022-39393", "identifiers": [ "CVE-2022-39393", "GHSA-wh6w-3828-g9qf" ], "not_impacted": "", "package_slug": "go/github.com/bytecodealliance/wasmtime-go", "pubdate": "2022-11-10", "solution": "Upgrade to versions 1.0.2, 2.0.2 or above.", "title": "Improper Removal of Sensitive Information Before Storage or Transfer", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-39393", "https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0", "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf" ], "uuid": "813ea564-8a1d-405f-9f9b-82879ee24173", "versions": [ { "commit": { "sha": "a1b1d2a7a896836dbba7fe5122e6c86e0d10cf94", "tags": [ "v2.0.0" ], "timestamp": "20221024155730" }, "number": "v2.0.0" } ] }, { "affected_range": "(,1.0.2),[2.0.0,2.0.2)", "affected_versions": "All versions before 1.0.2, all versions starting from 2.0.0 before 2.0.2", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N", "cwe_ids": [ "CWE-1035", "CWE-212", "CWE-937" ], "date": "2022-11-17", "description": "Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime\u0027s implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. This bug has been patched and users should upgrade to Wasmtime 2.0.2. Other mitigations include disabling the pooling allocator and disabling the `memory-init-cow`.", "fixed_versions": [ "1.0.2", "2.0.2" ], "identifier": "CVE-2022-39393", "identifiers": [ "CVE-2022-39393", "GHSA-wh6w-3828-g9qf" ], "not_impacted": "All versions starting from 1.0.2 before 2.0.0, all versions starting from 2.0.2", "package_slug": "nuget/Wasmtime", "pubdate": "2022-11-10", "solution": "Upgrade to version 1.0.2, 2.0.2 or above.", "title": "Improper Removal of Sensitive Information Before Storage or Transfer", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-39393", "https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0", "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf" ], "uuid": "adfb3c49-2211-4773-90cb-d7ed7d0f6e85" }, { "affected_range": "\u003c1.0.2||\u003e=2.0.0,\u003c2.0.2", "affected_versions": "All versions before 1.0.2, all versions starting from 2.0.0 before 2.0.2", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N", "cwe_ids": [ "CWE-1035", "CWE-212", "CWE-937" ], "date": "2022-11-17", "description": "Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime\u0027s implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. This bug has been patched and users should upgrade to Wasmtime 2.0.2. Other mitigations include disabling the pooling allocator and disabling the `memory-init-cow`.", "fixed_versions": [ "1.0.2", "2.0.2" ], "identifier": "CVE-2022-39393", "identifiers": [ "CVE-2022-39393", "GHSA-wh6w-3828-g9qf" ], "not_impacted": "All versions starting from 1.0.2 before 2.0.0, all versions starting from 2.0.2", "package_slug": "pypi/wasmtime", "pubdate": "2022-11-10", "solution": "Upgrade to version 1.0.2, 2.0.2 or above.", "title": "Improper Removal of Sensitive Information Before Storage or Transfer", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-39393", "https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0", "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf" ], "uuid": "e585a572-f9db-40ee-8e78-07559a86d22b" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:*", "cpe_name": [], "versionEndExcluding": "2.0.2", "versionStartIncluding": "2.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:bytecodealliance:wasmtime:*:*:*:*:*:rust:*:*", "cpe_name": [], "versionEndExcluding": "1.0.2", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-39393" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime\u0027s implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance. This bug has been patched and users should upgrade to Wasmtime 2.0.2. Other mitigations include disabling the pooling allocator and disabling the `memory-init-cow`." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-212" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0", "refsource": "MISC", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/bytecodealliance/wasmtime/commit/2614f2e9d2d36805ead8a8da0fa0c6e0d9e428a0" }, { "name": "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 8.6, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 4.0 } }, "lastModifiedDate": "2022-11-17T16:01Z", "publishedDate": "2022-11-10T20:15Z" } } }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.