gsd-2022-36067
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
vm2 is a sandbox that can run untrusted code with whitelisted Node's built-in modules. In versions prior to version 3.9.11, a threat actor can 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.11 of vm2. There are no known workarounds.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-36067",
    "description": "vm2 is a sandbox that can run untrusted code with whitelisted Node\u0027s built-in modules. In versions prior to version 3.9.11, a threat actor can 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.11 of vm2. There are no known workarounds.",
    "id": "GSD-2022-36067",
    "references": [
      "https://access.redhat.com/errata/RHSA-2022:6422",
      "https://access.redhat.com/errata/RHSA-2022:6424",
      "https://access.redhat.com/errata/RHSA-2022:6427",
      "https://access.redhat.com/errata/RHSA-2022:6507"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-36067"
      ],
      "details": "vm2 is a sandbox that can run untrusted code with whitelisted Node\u0027s built-in modules. In versions prior to version 3.9.11, a threat actor can 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.11 of vm2. There are no known workarounds.",
      "id": "GSD-2022-36067",
      "modified": "2023-12-13T01:19:21.446534Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-36067",
        "STATE": "PUBLIC",
        "TITLE": "vm2 vulnerable to Sandbox Escape before v3.9.11"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "vm2",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "\u003c 3.9.11"
                        }
                      ]
                    }
                  }
                ]
              },
              "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. In versions prior to version 3.9.11, a threat actor can 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.11 of vm2. There are no known workarounds."
          }
        ]
      },
      "impact": {
        "cvss": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 10.0,
          "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": [
              {
                "lang": "eng",
                "value": "CWE-913: Improper Control of Dynamically-Managed Code Resources"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq",
            "refsource": "CONFIRM",
            "url": "https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq"
          },
          {
            "name": "https://github.com/patriksimek/vm2/issues/467",
            "refsource": "MISC",
            "url": "https://github.com/patriksimek/vm2/issues/467"
          },
          {
            "name": "https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164",
            "refsource": "MISC",
            "url": "https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164"
          },
          {
            "name": "https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71",
            "refsource": "MISC",
            "url": "https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71"
          },
          {
            "name": "https://www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067",
            "refsource": "MISC",
            "url": "https://www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067"
          },
          {
            "name": "https://security.netapp.com/advisory/ntap-20221017-0002/",
            "refsource": "CONFIRM",
            "url": "https://security.netapp.com/advisory/ntap-20221017-0002/"
          }
        ]
      },
      "source": {
        "advisory": "GHSA-mrgp-mrhc-5jrq",
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c3.9.11",
          "affected_versions": "All versions before 3.9.11",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-913",
            "CWE-937"
          ],
          "date": "2022-11-08",
          "description": "vm2 is a sandbox that can run untrusted code with allow listed Node\u0027s built-in modules. In versions prior to version 3.9.11, a threat actor can 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.11 of vm2. There are no known workarounds.",
          "fixed_versions": [
            "3.9.11"
          ],
          "identifier": "CVE-2022-36067",
          "identifiers": [
            "CVE-2022-36067",
            "GHSA-mrgp-mrhc-5jrq"
          ],
          "not_impacted": "All versions starting from 3.9.11",
          "package_slug": "npm/vm2",
          "pubdate": "2022-09-06",
          "solution": "Upgrade to version 3.9.11 or above.",
          "title": "Improper Control of Dynamically-Managed Code Resources",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-36067",
            "https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164",
            "https://github.com/patriksimek/vm2/issues/467",
            "https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71",
            "https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq"
          ],
          "uuid": "3340d522-ae5c-46f5-8b60-3cc2c962299c"
        }
      ]
    },
    "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.11",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2022-36067"
        },
        "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. In versions prior to version 3.9.11, a threat actor can 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.11 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/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/patriksimek/vm2/commit/d9a7f3cc995d3d861e1380eafb886cb3c5e2b873#diff-b1a515a627d820118e76d0e323fe2f0589ed50a1eacb490f6c3278fe3698f164"
            },
            {
              "name": "https://github.com/patriksimek/vm2/issues/467",
              "refsource": "MISC",
              "tags": [
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://github.com/patriksimek/vm2/issues/467"
            },
            {
              "name": "https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://github.com/patriksimek/vm2/blob/master/lib/setup-sandbox.js#L71"
            },
            {
              "name": "https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/patriksimek/vm2/security/advisories/GHSA-mrgp-mrhc-5jrq"
            },
            {
              "name": "https://www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://www.oxeye.io/blog/vm2-sandbreak-vulnerability-cve-2022-36067"
            },
            {
              "name": "https://security.netapp.com/advisory/ntap-20221017-0002/",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://security.netapp.com/advisory/ntap-20221017-0002/"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 10.0,
            "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"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 6.0
        }
      },
      "lastModifiedDate": "2022-11-08T03:03Z",
      "publishedDate": "2022-09-06T22:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

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.