Repository navigation
fix(vxrn): close the Node static-path bypass - #1105
Merged
Merged
Conversation
@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
enabled auto-merge (squash)
November 5, 2026 19:26
This was referenced Nov 5, 2026
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes the moderate advisories reported in #1101.
one serveuses@hono/node-serverserveStatic. 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 publicserveStaticandgetRequestListenercalls in vxrn are unchanged. v2 drops Node 18 and the unused Vercel adapter. One already requires Node 24.create-vxrnmoves from rimraf 5 to 6.1.4. That drops the glob 10.5.0 and minimatch 9 chain from a new app. Therimraf()call and therimraf ./dist/script stay the same.bun installresolved@hono/[email protected]and[email protected].tsc --noEmitpassed inpackages/vxrnandpackages/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/configandarchiver-utils, which are not the publishedonepath from the report.