Skip to content

fix(deps): patch the fast-uri and mysql2 high-severity advisories - #3210

Merged
larryro merged 1 commit into
mainfrom
fix/deps-fast-uri-mysql2
Sep 4, 2026
Merged

fix(deps): patch the fast-uri and mysql2 high-severity advisories#3210
larryro merged 1 commit into
mainfrom
fix/deps-fast-uri-mysql2

Conversation

@larryro

@larryro larryro commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Why

The Security workflow fails on main — run 33846607955, job Trivy filesystem scan, step Trivy vulnerability gate (HIGH/CRITICAL):

bun.lock (bun)  Total: 5 (HIGH: 5, CRITICAL: 0)
fast-uri  CVE-2026-75899  HIGH  fixed  3.1.5  → 2.4.5, 3.1.6, 4.1.3  SSRF via repeated hostname percent-decoding
          CVE-2026-75931                                              Host confusion via skipped IDN canonicalization
          CVE-2026-75975                                              SSRF via malformed IPv6 normalization
          CVE-2026-76172                                              URI parsing flaw enables SSRF and redirects
mysql2    GHSA-3f6p-5ww8-9rcr  HIGH  fixed  3.21.1 → 3.22.0          Auth plugin downgrade to mysql_clear_password leaks plaintext credentials

The workflow has been red on main since 2026-09-03 (31a8329, 1ab399d); the push trigger only fires when bun.lock, a package.json, a Dockerfile or the ignore file changes, which #3208's services/db/Dockerfile edit did. The advisories are not new to today's merges.

Renovate already opened one PR per advisory — #3152 (fast-uri → 3.1.6) and #3124 (mysql2 → 3.23.1) — but each of them still fails both security gates (Bun audit + Trivy) on the other advisory, so neither can land on its own. This PR carries both bumps in one change; renovate will close its two once main has the versions.

What changed

Not in scope: renovate's #3153 (qs), #3151 (@xmldom/xmldom), #2830 (dompurify) — the gate does not flag them (not HIGH/CRITICAL fixable production findings); they stay for a separate decision.

Gates observed

  • git apply --check of both renovate diffs on current main: clean; bun install --frozen-lockfile --dry-run (direct registry, proxies unset): exit 0.
  • The Security workflow runs on this PR (it touches bun.lock/package.json), so its Bun audit and Trivy gates prove the fix before merge.

The Security workflow's Trivy gate fails on main (run 33846607955): five
fixable HIGH findings in bun.lock — fast-uri 3.1.5 (CVE-2026-75899,
-75931, -75975, -76172: SSRF and host confusion in URI parsing) and
mysql2 3.21.1 (GHSA-3f6p-5ww8-9rcr: auth-plugin downgrade leaking
plaintext credentials). Bump the root fast-uri pin to 3.1.6 and the
platform's mysql2 to 3.23.1, the versions renovate proposed in #3152 and
#3124. Those two PRs each fix one advisory, so the gates keep failing on
the other one for both of them; one change clears the gate.

fast-uri is only reached through ajv (@tale/platform, commitlint, the MCP
SDK); mysql2 is a direct platform dependency referenced from a reference
file and an optional better-auth peer. `bun install --frozen-lockfile
--dry-run` resolves the updated lock cleanly.
@larryro
larryro merged commit 31bb2b0 into main Sep 4, 2026
50 of 52 checks passed
@larryro
larryro deleted the fix/deps-fast-uri-mysql2 branch September 4, 2026 07:31
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