Skip to content

Commit 46215c2

Browse files
committed
Fix known vulnerabilities in hono, @hono/node-server, react-router, vite
Bumps four dependencies whose pinned versions are covered by published security advisories: - @hono/node-server 1.19.8 -> 1.19.17: authorization bypass for protected static paths via encoded slashes (GHSA-…, high), plus serveStatic middleware bypass via repeated slashes. - hono 4.11.3 -> 4.13.0: arbitrary file access via serveStatic (high), CORS middleware reflecting any Origin with credentials when origin defaults to wildcard (high), and ReDoS in CORS middleware. - react-router 7.12.0 -> 7.18.2: unauthenticated DoS via inefficient route matching (high) and DoS via unbounded path expansion in the __manifest endpoint (high). - vite 7.3.1 -> 7.3.6: server.fs.deny bypass via queries and arbitrary file read through the dev server websocket (both high, dev-server only). All bumps stay within the current major. `bun run build` passes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FLKXKfBG82ynxV7K447UbQ
1 parent 0c23796 commit 46215c2

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

bun.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
"sync-web": "rm -rf web-dist && cp -r ../web/dist ./web-dist"
2929
},
3030
"dependencies": {
31-
"@hono/node-server": "1.19.8",
32-
"hono": "4.11.3",
31+
"@hono/node-server": "1.19.17",
32+
"hono": "4.13.0",
3333
"commander": "14.0.2"
3434
},
3535
"devDependencies": {

packages/web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"browser-rpc": "workspace:*",
1313
"react": "19.2.3",
1414
"react-dom": "19.2.3",
15-
"react-router": "7.12.0",
15+
"react-router": "7.18.2",
1616
"@tanstack/react-query": "5.90.16",
1717
"wagmi": "3.3.2",
1818
"viem": "2.44.0",
@@ -28,6 +28,6 @@
2828
"@tailwindcss/vite": "4.1.18",
2929
"tailwindcss": "4.1.18",
3030
"typescript": "5.9.3",
31-
"vite": "7.3.1"
31+
"vite": "7.3.6"
3232
}
3333
}

0 commit comments

Comments
 (0)