fix(deps): bump hono to 4.12.25 to clear high CORS advisory (GHSA-88fw-hqm2-52qc)#726
Open
YevheniiKotyrlo wants to merge 1 commit into
Open
fix(deps): bump hono to 4.12.25 to clear high CORS advisory (GHSA-88fw-hqm2-52qc)#726YevheniiKotyrlo wants to merge 1 commit into
YevheniiKotyrlo wants to merge 1 commit into
Conversation
bun audit --audit-level high (the release-blocking Security-Audit step in .github/workflows/checks.yml) fails on main because hono is pinned to 4.12.5 in root resolutions, and hono <4.12.25 carries a high-severity CORS advisory: GHSA-88fw-hqm2-52qc (CORS middleware reflects any Origin with credentials when origin defaults to the wildcard). Bump the hono resolution to 4.12.25 (the first fixed release, and the current latest). bun audit now exits 0; manypkg check passes; hono is the only entry changed in bun.lock.
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.
Summary
bun audit --audit-level high(the release-blocking Security-Audit step in.github/workflows/checks.yml) currently fails onmainbecausehonois pinned to4.12.5in rootresolutions, andhono <4.12.25carries a high-severity CORS advisory:This bumps the
honoresolution to4.12.25(the first fixed release, and the current latest), which clears the advisory.Change
resolutions.hono:4.12.5→4.12.25, plus the matchingbun.lockupdate.honois the only entry that changes in the lockfile (no new transitive deps).Verification
bun audit --audit-level high --ignore GHSA-3ppc-4f35-3m26(the exact CI command) — was 1 high, now exits 0.manypkg check—workspaces valid!.This unblocks the
checksjob onmainand on the currently-open PRs whosechecksare red solely on this advisory.