Skip to content

Bump vm2 to 3.12.2 - #67

Open
katsugtgz wants to merge 2 commits into
ballercat:mainfrom
katsugtgz:dep-bump-vm2-3.12.1
Open

katsugtgz wants to merge 2 commits into
ballercat:mainfrom
katsugtgz:dep-bump-vm2-3.12.1

Conversation

@katsugtgz

@katsugtgz katsugtgz commented Oct 1, 2026 •

Copy link
Copy Markdown

Updates vm2 to address all GHSA advisories affecting vm2@3.9.13 in the GitHub advisory database, including the three advisories published 2026-10-05/07 (GHSA-2v2p-6j97-cjg9, GHSA-489w-w794-jq94, GHSA-5h3f-q97h-ccvc, all fixed in 3.12.2).

Evidence:

  • package-lock.json pinned vm2@3.9.13 under node_modules/proxy-agent/node_modules/degenerator (^3.9.8 spec)
  • osv-scanner reported 48 vm2 advisories before the update
  • updated version: 3.12.2 (exact override for the degenerator dependency so the lockfile resolves past ^3.9.8)

Validation at the current head (vm2 3.12.2):

  • osv-scanner --lockfile=package-lock.json reports zero vm2 advisories (OSV query for vm2@3.12.2 also returns zero vulns); remaining scanner findings are in unrelated dev dependencies, out of scope for this patch
  • npm run lint passes
  • npm run build compiles, exit 0
  • npx ava under node 24 (the version tests.yml uses): 25 tests pass; the 8 server.test.mjs tests that need a running server stay pending and time out locally. The same suite passes in the repo's Quality Checks CI on main, so the pending tests are environment related, not caused by this patch.

Scope: dependency/lockfile update only (package.json, package-lock.json). acorn-walk moved 8.2.0 to 8.3.5 because vm2 requires ^8.3.4.

vm2 3.9.13 is affected by 48 GHSA advisories with fixes up to 3.12.1
(sandbox escapes including GHSA-m283-3h24-438v). Adds vm2 as a dev
override for the degenerator ^3.9.8 spec so the lockfile resolves to
3.12.1. 3.12.1 clears every advisory for the pinned version per OSV.
3.12.1 is still affected by GHSA-5h3f-q97h-ccvc and two other vm2
advisories. 3.12.2 is clear of all current vm2 advisories in OSV.
@katsugtgz

Copy link
Copy Markdown
Author

Updated vm2 to 3.12.2: 3.12.1 is still in range for GHSA-5h3f-q97h-ccvc and two other vm2 advisories, and OSV reports no advisories for 3.12.2. Sorry for the force-push churn.

@katsugtgz katsugtgz changed the title Bump vm2 to 3.12.1 Bump vm2 to 3.12.2 Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant