chore(deps):(deps-dev): bump hono from 4.12.10 to 4.12.12
Type: Pull Request
State: Open
Association: Unknown
Comments: 2
(13 days ago)
(13 days ago)
dependencies
Bumps hono from 4.12.10 to 4.12.12.
Release notes
Sourced from hono's releases.
v4.12.12
Security fixes
This release includes fixes for the following security issues:
Middleware bypass via repeated slashes in serveStatic
Affects: Serve Static middleware. Fixes a path normalization inconsistency where repeated slashes (
//) could bypass route-based middleware protections and allow access to protected static files. GHSA-wmmm-f939-6g9cPath traversal in toSSG() allows writing files outside the output directory
Affects:
toSSG()for Static Site Generation. Fixes a path traversal issue where craftedssgParamsvalues could write files outside the configured output directory. GHSA-xf4j-xp2r-rqqxIncorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses
Affects: IP Restriction Middleware. Fixes improper handling of IPv4-mapped IPv6 addresses (e.g.
::ffff:127.0.0.1) that could cause allow/deny rules to be bypassed. GHSA-xpcf-pg52-r92gMissing validation of cookie name on write path in setCookie()
Affects:
setCookie(),serialize(), andserializeSigned()fromhono/cookie. Fixes missing validation of cookie names on the write path, preventing inconsistent handling between parsing and serialization. GHSA-26pp-8wgv-hjvmNon-breaking space prefix bypass in cookie name handling in getCookie()
Affects:
getCookie()fromhono/cookie. Fixes a discrepancy in cookie name handling that could allow attacker-controlled cookies to override legitimate ones and bypass prefix protections. GHSA-r5rp-j6wh-rvv4
Users who use Serve Static, Static Site Generation, Cookie utilities, or IP restriction middleware are strongly encouraged to upgrade to this version.
v4.12.11
What's Changed
- feat(css): add classNameSlug option to createCssContext by
@flow-piein honojs/hono#4834New Contributors
@flow-piemade their first contribution in honojs/hono#4834Full Changelog: https://github.com/honojs/hono/compare/v4.12.10...v4.12.11
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade hono to 4.12.12 to pull in security fixes for static serving, SSG output, cookie handling, and IP restriction. No app code changes; lockfile updated.
- Dependencies
- Bumped
honofrom 4.12.10 to 4.12.12 (updatespnpm-lock.yaml).
- Bumped
Written for commit b559d5cd633317837b4227ebab1d5551c71e6137. Summary will update on new commits.
Package Dependencies
Security Advisories
Hono: Non-breaking space prefix bypass in cookie name handling in getCookie()
Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses
Hono missing validation of cookie name on write path in setCookie()
Hono: Path traversal in toSSG() allows writing files outside the output directory
Hono: Middleware bypass via repeated slashes in serveStatic
Technical Details
| ID: | 15141693 |
| UUID: | 4227608495 |
| Node ID: | PR_kwDORVSXHM7Q73Q3 |
| Host: | GitHub |
| Repository: | daggerstuff/pixelated |