[Aikido] Fix 43 security issues in fast-uri, hono - #13
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
[Aikido] Fix 43 security issues in fast-uri, hono#13aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
Author
|
Closed by Aikido: a new AutoFix has been created → #14 |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-98486927-45zp
branch
September 4, 2026 00:48
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.
Upgrade fast-uri and hono to fix critical SSRF/host-bypass and path-traversal vulnerabilities caused by improper URI normalization and authority parsing.
✅ No breaking changes for: fast-uri
✅ 43 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
fast-uritreats as paths but Node's URL parser treats as authority, enabling redirection to unintended destinations.Content-Lengthwas missing or bodies were chunked, due to asynchronous limit enforcement. This could enable DoS attacks or unintended data processing despite configured size restrictions.setCookie(),serialize(), orserializeSigned(), allowing invalid characters that can cause malformed Set-Cookie headers and runtime errors when processing untrusted cookie names.parseBody({ dot: true })where specially crafted form field names like__proto__.xcreate objects with__proto__properties, potentially enabling prototype pollution if merged unsafely into other objects.jsx()andcreateElement(), allowing untrusted tag input to inject markup and reshape generated HTML, potentially enabling XSS attacks.🤖 Remediation details
Fix high/medium/low severity vulnerabilities in
honoandfast-uriShort summary
This PR remediates a series of security advisories affecting two packages:
hono(the HTTP framework used directly in theapps/workerworkspace member) andfast-uri(a transitive dependency pulled in viaajv). The fix updates the declared version range forhonoinapps/worker/package.jsonand refreshes the lockfile (pnpm-lock.yaml) to resolve both packages to patched versions.hono
honois declared as a direct dependency inapps/worker/package.json. The previously declared range^4.7.0resolved to4.12.5, which is affected by numerous high, medium, and low severity advisories. The range floor was raised to^4.12.25so that pnpm resolves to a patched release; the lockfile now resolveshonoto4.13.4, which satisfies all patched version requirements (≥4.12.25).fast-uri
fast-uriis a transitive dependency introduced byajv@8.18.0, which declares it as"^3.0.1". The lockfile was previously pinned tofast-uri@3.1.0, which falls within all affected version ranges. Becauseajv@8.18.0(already the installed version) already permitsfast-uri@3.1.6under its declared range, no manifest edit or parent bump was required — a lockfile-only refresh (pnpm update fast-uri --lockfile-only -r) was sufficient to move the resolved version to3.1.6, satisfying all patched version requirements.Version changes
hono^4.7.0(resolved4.12.5)^4.12.25(resolved4.13.4)apps/worker/package.jsonfast-uri3.1.03.1.6ajv@8.18.0, existing parent range already admitted patched versionNote
Medium Risk
Hono is on the request path for the worker; a minor-version jump with many security fixes can subtly change routing, CORS, auth middleware, and HTML/JSX output even though the diff is dependency-only.
Overview
Bumps the Cloudflare worker’s direct hono dependency from
^4.7.0to^4.12.25(lockfile resolves 4.13.4), addressing a large set of framework advisories (CORS, static/path handling, JWT, body limits, JSX/HTML escaping, and related middleware behavior).Refreshes pnpm-lock.yaml so transitive fast-uri moves 3.1.0 → 3.1.6 (via ajv), closing URI normalization and host-parsing bypass issues. The lockfile diff also records ancillary resolution changes (e.g. CLI highlight.js / marked-highlight, vite no longer pulling optional tsx, and updated platform libc metadata on native packages)—no application source changes beyond the worker manifest.
Reviewed by Cursor Bugbot for commit 3a20de1. Bugbot is set up for automated code reviews on this repo. Configure here.