Commit 3c35571
committed
fix(deps): bump hono 4.12.18 -> 4.12.21 (resolves 4 Dependabot advisories)
Patches all four open MEDIUM Dependabot alerts on hono (<4.12.21):
- GHSA-3hrh-pfw6-9m5x (CVE-2026-47675): Set-Cookie injection via
unsanitized sameSite/priority in the cookie helper
- GHSA-2gcr-mfcq-wcc3 (CVE-2026-47676): app.mount() strips the mount
prefix using an undecoded path
- GHSA-xrhx-7g5j-rcj5 (CVE-2026-47674): IP-restriction bypass for
non-canonical IPv6 deny rules
- GHSA-f577-qrjj-4474 (CVE-2026-47673): JWT middleware accepts any
Authorization scheme, not only Bearer
The bump is a patch within 4.12.x (non-breaking). The loopback bridge
in lib/local-bridge.ts uses only core Hono routing and none of the
affected middleware, so this is dependency hygiene.
Also pulled in by npm audit fix: brace-expansion 5.0.5 -> 5.0.6
(dev-only, GHSA-jxxr-4gwj-5jf2). npm audit now reports 0 vulnerabilities.
Docs kept in sync with the new pin (enforced by
test/documentation.test.ts docs-supplychain-03):
- SECURITY.md: hono override rationale updated to 4.12.21
- README.md: current prerelease link corrected to v2.3.0-beta.1
(drifted at the v2.3.0-beta.1 release; was the second failing doc test)
Verified: build, typecheck, lint, and full vitest suite
(4428 passed, 0 failed, 3 skipped) all green.1 parent d8306d5 commit 3c35571
4 files changed
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
| 386 | + | |
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments