nday
GHSA-2cm2-m3w5-gp2f

vm2 has access to `VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL`

CVE 공개: . 해결 버전: vm2 3.11.2. PoC 출처 4곳 모두 미등재. 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.

이벤트 로그

+DISCVE 공개

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.