Skip to content

fix(vxrn): close the Node static-path bypass - #1105

Merged
natew merged 1 commit into
mainfrom
oss-fixer/one-2026-11-05-audit
Nov 5, 2026
Merged

natew merged 1 commit into
mainfrom
oss-fixer/one-2026-11-05-audit

Conversation

@natew

@natew natew commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Closes the moderate advisories reported in #1101.

one serve uses @hono/node-server serveStatic. 1.19.17 decodes an already-decoded path, so middleware on a static prefix can be skipped, and it accepts a raw backslash that a reverse proxy may treat as a different path. 2.1.6 rejects both. The public serveStatic and getRequestListener calls in vxrn are unchanged. v2 drops Node 18 and the unused Vercel adapter. One already requires Node 24.

create-vxrn moves from rimraf 5 to 6.1.4. That drops the glob 10.5.0 and minimatch 9 chain from a new app. The rimraf() call and the rimraf ./dist/ script stay the same.

bun install resolved @hono/[email protected] and [email protected]. tsc --noEmit passed in packages/vxrn and packages/create-vxrn. The lockfile only moves those two packages and rimraf's glob, path-scurry, and lru-cache. glob 10 remains in the monorepo through @wdio/config and archiver-utils, which are not the published one path from the report.

@hono/node-server 1.19.17 decodes a static path twice and accepts a raw backslash. 2.1.6 rejects both. create-vxrn moves to rimraf 6.1.4, which leaves the vulnerable glob 10 and minimatch 9 chain.

Validation: bun install resolved @hono/node-server 2.1.6 and rimraf 6.1.4. vxrn and create-vxrn typecheck passed. The lockfile only moves those two packages and rimraf's glob, path-scurry, and lru-cache.

Team-Machine-Session: s171653
@natew
natew enabled auto-merge (squash) November 5, 2026 19:26
@natew
natew merged commit 2c6b6be into main Nov 5, 2026
11 checks passed
YevheniiKotyrlo added a commit to YevheniiKotyrlo/one that referenced this pull request Nov 7, 2026
The pin moves to the latest release, which carries onejs#1105; shellcheck
-o check-extra-masked-returns found the versions' command substitutions
masked by echo.
@natew
natew deleted the oss-fixer/one-2026-11-05-audit branch November 28, 2026 00:15
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