Skip to content

fix(deps): three advisories in the runtime dependency tree, two of them high - #81

Merged
stxkxs merged 1 commit into
mainfrom
fix/fast-uri-advisory
Aug 5, 2026
Merged

fix(deps): three advisories in the runtime dependency tree, two of them high#81
stxkxs merged 1 commit into
mainfrom
fix/fast-uri-advisory

Conversation

@stxkxs

@stxkxs stxkxs commented Aug 5, 2026

Copy link
Copy Markdown
Member

npm audit --audit-level=high --omit=dev is a required check and went red on main. The findings are real, all transitive, and all fixable inside the ranges package.json already declares — so this is a lockfile-only change.

package change severity advisory
fast-uri 3.1.4 → 3.1.5 HIGH GHSA-7p8r-x3mc-p8w7 — host confusion via backslash authority introducer
ip-address 10.2.0 → 10.4.0 HIGH ×3 GHSA-mwp4-54f8-5fhr, GHSA-4xrf-jv44-h6hh, GHSA-22jq-vg5j-6vgg
hono 4.12.31 → 4.13.0 moderate GHSA-8j4g-w8fx-2239 — ReDoS in CORS middleware

What they actually allow. fast-uri parses a URL whose authority is introduced with a backslash to a different host than a resolver reaches. The three ip-address issues each let an address pass an SSRF or trust-boundary check and then resolve somewhere else — leading-zero octets decoded as decimal where resolvers read octal, a CIDR suffix suppressing special-use classification, and misclassified IPv4-mapped/NAT64 IPv6 addresses.

fast-uri arrives through @anthropic-ai/claude-agent-sdk@modelcontextprotocol/sdkajv.

The advisory line matters. The fix for fast-uri's 4.x line is 4.1.2; for the 3.x line it is 3.1.5. This tree is on 3.x, so 4.1.2 is not the fix here — worth stating because the scanner output for a sibling repo names 4.1.2 and they are not interchangeable.

package.json is untouched — every bump is within an existing range, so nothing about what this package declares has changed.

Verified: npm audit --audit-level=high --omit=dev reports 0 vulnerabilities (exit code read from the command itself, not off the end of a pipe), 502 tests pass across 33 files, and lint is clean on the reinstalled tree.

…em high

`npm audit --audit-level=high --omit=dev` is a required check and went red on
main. The findings are real, all transitive, and all fixable inside the ranges
package.json already declares — so this is a lockfile-only change.

  * fast-uri 3.1.4 -> 3.1.5 (HIGH, GHSA-7p8r-x3mc-p8w7). Host confusion via a
    backslash authority introducer: a URL whose authority is introduced with a
    backslash parses to a different host than a resolver reaches. Arrives through
    @anthropic-ai/claude-agent-sdk -> @modelcontextprotocol/sdk -> ajv.
  * ip-address 10.2.0 -> 10.4.0 (HIGH, three advisories). Address4 decoded
    leading-zero octets as decimal where resolvers read them as octal;
    a CIDR suffix suppressed special-use classification; IPv4-mapped and NAT64
    IPv6 addresses were misclassified. Each one lets an address pass an SSRF or
    trust-boundary check and resolve somewhere else.
  * hono 4.12.31 -> 4.13.0 (moderate, GHSA-8j4g-w8fx-2239). ReDoS in the CORS
    middleware via Access-Control-Request-Headers.

The advisory line matters for fast-uri: the fix for the 4.x line is 4.1.2 and for
the 3.x line it is 3.1.5. This tree is on 3.x, so 4.1.2 is not the fix here.

package.json is untouched — every bump is within an existing range, so nothing
about what this package declares has changed. The audit reports zero
vulnerabilities afterwards, and the 502 tests and lint pass on the new tree.
@stxkxs
stxkxs merged commit c6a8510 into main Aug 5, 2026
10 checks passed
@stxkxs
stxkxs deleted the fix/fast-uri-advisory branch August 5, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant