chore(deps): update dependency srvx to v0.11.13 [security]#1263
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency srvx to v0.11.13 [security]#1263renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
commit: |
Contributor
📦 Bundle Size Comparison📈 nuxi
📈 nuxt-cli
📈 create-nuxt
|
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.
This PR contains the following updates:
0.11.9→0.11.13GitHub Vulnerability Alerts
CVE-2026-33732
Summary
A pathname parsing discrepancy in srvx's
FastURLallows middleware bypass on the Node.js adapter when a raw HTTP request uses an absolute URI with a non-standard scheme (e.g.file://).Details
When Node.js receives an absolute URI in the request line (e.g.
GET file://hehe?/internal/run HTTP/1.1),req.urlis set verbatim tofile://hehe?/internal/run. Since this doesn't start with/,NodeRequestURLpasses it directly toFastURLas a string, which stores it in#hreffor lazy manual parsing.FastURL#getPos()locates the pathname by finding://then scanning for the next/— but this fails for URLs likefile://hehe?/internal/runwhere a?appears before the first/after the authority. The manual parser extracts pathname as/internal/run, while nativeURLcorrectly parses it as pathname/with search?/internal/run.This discrepancy means the router (using the fast-path) matches
/internal/run, but if any middleware triggers a deopt to nativeURL(e.g. by accessinghostname), subsequent middleware sees a different pathname — bypassing route-based middleware guards.This is a bypass of CVE-2026-33131.
Impact
Route-based middleware (auth guards, rate limiters, etc.) can be bypassed on the Node.js adapter when a prior middleware triggers
FastURLdeopt. Requires sending a raw HTTP request (not possible from browsers).Fix
srvx
FastURLconstructor now deopts to nativeURLfor any string not starting with/, ensuring consistent pathname resolution.Release Notes
h3js/srvx (srvx)
v0.11.13Compare Source
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
v0.11.12Compare Source
compare changes
🩹 Fixes
pipeBodystability and performance (4051f22)❤️ Contributors
v0.11.11Compare Source
compare changes
🩹 Fixes
pipeBody(5e731ef)✅ Tests
pipeBody(f746e79)❤️ Contributors
v0.11.10Compare Source
compare changes
🩹 Fixes
entries()iterator (4ed7453)🏡 Chore
❤️ Contributors
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.