gsd-2023-29017
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.15 of vm2. There are no known workarounds.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2023-29017", "id": "GSD-2023-29017" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2023-29017" ], "details": "vm2 is a sandbox that can run untrusted code with whitelisted Node\u0027s built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.15 of vm2. There are no known workarounds.", "id": "GSD-2023-29017", "modified": "2023-12-13T01:20:57.022214Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-29017", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "vm2", "version": { "version_data": [ { "version_affected": "=", "version_value": "\u003c 3.9.15" } ] } } ] }, "vendor_name": "patriksimek" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "vm2 is a sandbox that can run untrusted code with whitelisted Node\u0027s built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.15 of vm2. There are no known workarounds." } ] }, "impact": { "cvss": [ { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 10, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", "version": "3.1" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "cweId": "CWE-913", "lang": "eng", "value": "CWE-913: Improper Control of Dynamically-Managed Code Resources" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv", "refsource": "MISC", "url": "https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv" }, { "name": "https://github.com/patriksimek/vm2/issues/515", "refsource": "MISC", "url": "https://github.com/patriksimek/vm2/issues/515" }, { "name": "https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50", "refsource": "MISC", "url": "https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50" }, { "name": "https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d", "refsource": "MISC", "url": "https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d" } ] }, "source": { "advisory": "GHSA-7jxr-cg7f-gpgv", "discovery": "UNKNOWN" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c3.9.15", "affected_versions": "All versions before 3.9.15", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-913", "CWE-937" ], "date": "2023-04-13", "description": "vm2 is a sandbox that can run untrusted code with allow listed Node\u0027s built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.15 of vm2. There are no known workarounds.", "fixed_versions": [ "3.9.15" ], "identifier": "CVE-2023-29017", "identifiers": [ "CVE-2023-29017", "GHSA-7jxr-cg7f-gpgv" ], "not_impacted": "All versions starting from 3.9.15", "package_slug": "npm/vm2", "pubdate": "2023-04-06", "solution": "Upgrade to version 3.9.15 or above.", "title": "Improper Control of Dynamically-Managed Code Resources", "urls": [ "https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv", "https://nvd.nist.gov/vuln/detail/CVE-2023-29017", "https://github.com/patriksimek/vm2/issues/515", "https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50", "https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d", "https://github.com/advisories/GHSA-7jxr-cg7f-gpgv" ], "uuid": "ad41a3dc-766f-435f-8ff2-cf3e16e4815a" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:vm2_project:vm2:*:*:*:*:*:node.js:*:*", "cpe_name": [], "versionEndExcluding": "3.9.15", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-29017" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "vm2 is a sandbox that can run untrusted code with whitelisted Node\u0027s built-in modules. Prior to version 3.9.15, vm2 was not properly handling host objects passed to `Error.prepareStackTrace` in case of unhandled async errors. A threat actor could bypass the sandbox protections to gain remote code execution rights on the host running the sandbox. This vulnerability was patched in the release of version 3.9.15 of vm2. There are no known workarounds." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-913" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/patriksimek/vm2/issues/515", "refsource": "MISC", "tags": [ "Exploit", "Issue Tracking" ], "url": "https://github.com/patriksimek/vm2/issues/515" }, { "name": "https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50", "refsource": "MISC", "tags": [ "Patch" ], "url": "https://github.com/patriksimek/vm2/commit/d534e5785f38307b70d3aac1945260a261a94d50" }, { "name": "https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d", "refsource": "MISC", "tags": [ "Exploit" ], "url": "https://gist.github.com/seongil-wi/2a44e082001b959bfe304b62121fb76d" }, { "name": "https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv", "refsource": "MISC", "tags": [ "Vendor Advisory" ], "url": "https://github.com/patriksimek/vm2/security/advisories/GHSA-7jxr-cg7f-gpgv" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } }, "lastModifiedDate": "2023-04-13T13:20Z", "publishedDate": "2023-04-06T20:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- 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.