π¨ [security] Update hono 4.11.1 β 4.11.10 (patch) - #4
Closed
depfu[bot] wants to merge 1 commit into
Closed
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Author
|
Closed in favor of #5. |
Author
|
Closed in favor of #7. |
Author
|
Closed in favor of #9. |
1 similar comment
Author
|
Closed in favor of #9. |
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.
π¨ Your current dependencies have known security vulnerabilities π¨
This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
β³οΈ hono (4.11.1 β 4.11.10) Β· Repo
Security Advisories π¨
π¨ Hono added timing comparison hardening in basicAuth and bearerAuth
π¨ Hono vulnerable to XSS through ErrorBoundary component
π¨ Hono has an Arbitrary Key Read in Serve static Middleware (Cloudflare Workers Adapter)
π¨ Hono cache middleware ignores "Cache-Control: private" leading to Web Cache Deception
π¨ Hono IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing
π¨ Hono JWT Middleware's JWT Algorithm Confusion via Unsafe Default (HS256) Allows Token Forgery and Auth Bypass
π¨ Hono JWK Auth Middleware has JWT algorithm confusion when JWK lacks "alg" (untrusted header.alg fallback)
Release Notes
4.11.10
4.11.9
4.11.8
4.11.7
4.11.6
4.11.5
4.11.4
4.11.3
4.11.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 43 commits:
4.11.10Merge commit from forktest(types): add regression tests for #4388 (routes before .use() with explicit paths) (#4722)doc(jwt): mark `options.secret` as required in JSDoc (#4718)chore(ci): bump typescript-go to the latest (#4716)chore: update Zod import examples to use namespace imports (#4715)4.11.9fix: determine if rendered or not by `node.vC[0]` instead of referring to `node.pP` (#4663)fix(url): ignore fragment identifiers in getPath() (#4627)4.11.8fix(bearer-auth): make auth-scheme case-insensitive (#4659)fix(jsx): preserve context when using await before html helper (#4662)4.11.7Merge commit from forkMerge commit from forkMerge commit from forkMerge commit from fork4.11.6feat(bun): export getBunServer (#4626)fix(sse): handle `\r` and `\r\n` line endings in writeSSE (#4644)docs: align CODE_OF_CONDUCT.md wording with Contributor Covenant (#4630)refactor: use `unique symbol` for more accurate typing. (#4651)4.11.5feat(jwt): export `AlgorithmTypes` (#4642)refactor(jwks): mark allowedAlgorithms, so the user can pass a `const` array (#4641)fix(client): exclude $all from ClientRequest type (#4611)4.11.4Merge commit from forktest: support `alg` option for JWT middleware (#4624)Merge commit from forkdocs(bun/websocket): Fixed a typo in hono/bun deprecation message and updated the corresponding test (#4618)chore: bump `@hono/eslint-config` and enable curly rule (#4620)test(utils/jwt): add missing algorithm types in jwa.test.ts (#4606) (#4607)4.11.3fix(types): fix middleware union type merging in MergeMiddlewareResponse (#4602)4.11.2perf(types): optimize `MergeMiddlewareResponse` type (#4598)perf(types): reduce `Simplify` in `ToSchema` (#4597)refactor(client): refactor `HonoURL` types (#4592)refactor(hono-base): add type annotations (#4591)chore: bump typescript-go preview for accurate benchmarking (#4586)fix(validator): preserve literal union types in input type inference (#4583)docs: improve grammar in contributing documentation (#4581)Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase.All Depfu comment commands
Go to the Depfu Dashboard to see the state of your dependencies and to customize how Depfu works.