Skip to content

chore(deps): update dependency fast-uri to v3.1.4 [security] - autoclosed#577

Closed
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-fast-uri-vulnerability
Closed

chore(deps): update dependency fast-uri to v3.1.4 [security] - autoclosed#577
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/npm-fast-uri-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
fast-uri 3.1.33.1.4 age confidence

fast-uri vulnerable to host confusion via literal backslash authority delimiter

CVE-2026-16221 / GHSA-v2hh-gcrm-f6hx

More information

Details

Impact

fast-uri v4.1.0 and earlier do not treat a literal backslash (U+005C) as an authority delimiter. Node's native WHATWG URL (used by fetch(), undici, and Node's http/https clients) normalizes \ to / for special schemes (http, https, ws, wss, ftp, file), so the two parsers extract different hosts from the same input string.

For example, http://evil.com\@​allowed.com is treated by fast-uri as host allowed.com with userinfo evil.com\, while Node's WHATWG URL parser and fetch() see host evil.com with path /@​allowed.com.

Applications that use fast-uri to enforce host-based policy (allowlists, denylists, loopback/SSRF filtering, redirect validation, outbound proxy routing) before passing the same URL into Node's URL or fetch() consumers see a policy/use desync and can be steered to an unintended destination, including cloud metadata endpoints, loopback, or internal hosts.

Patches

Upgrade to fast-uri v4.1.1, v3.1.4, or v2.4.3.

Workarounds

None. Upgrade to the patched version.

Severity

  • CVSS Score: 7.5 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

fastify/fast-uri (fast-uri)

v3.1.4

Compare Source

⚠️ Security Release

Fix for GHSA-v2hh-gcrm-f6hx

Full Changelog: fastify/fast-uri@v3.1.3...v3.1.4


Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from scttbnsn as a code owner July 21, 2026 23:05
@renovate renovate Bot added dependencies Pull requests that update a dependency file security labels Jul 21, 2026
@renovate renovate Bot added dependencies Pull requests that update a dependency file security labels Jul 21, 2026
@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
drydock-website Ready Ready Preview, Comment Jul 21, 2026 11:07pm
drydockdemo-website Ready Ready Preview, Comment Jul 21, 2026 11:07pm

scttbnsn added a commit that referenced this pull request Jul 22, 2026
## Summary

- pin `fast-uri` 3.1.4 in app and UI for CVE-2026-16221
- pin `fast-xml-parser` 5.10.1 in app for GHSA-8r6m-32jq-jx6q
- override the Next.js transitive `sharp` dependency to 0.35.3 for
GHSA-f88m-g3jw-g9cj
- add lockfile regression coverage and record the refresh in the rc.3
changelog

## Why

The approved rc.3 tree passed PR CI, but the GitHub Advisory Database
updated before the post-merge `main` run completed. Qlty then correctly
blocked the release on these three newly recognized advisories. The
release workflow was canceled before any publication side effects.

This combined PR supersedes the incomplete single-package Renovate PRs
#577 and #578; neither can pass the all-plugin Qlty gate independently.

## Validation

- Qlty all-plugin gate: pass
- npm audit, app/UI/website production trees: 0 vulnerabilities
- backend: 392 files, 12,288 tests, 100% coverage
- UI: 213 files, 4,273 tests, 100% coverage
- website: 44 script tests, typecheck, 348-page production build
- root scripts: 111 tests
- workflow policy: 40 tests
- pre-push repository gate: pass
- rc.3 precheck: pass with five informational discussion-reply reminders

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
🔒 **Security**
- Pin `fast-uri` to `3.1.4` in `app` and `ui` for CVE-2026-16221.
- Pin `fast-xml-parser` to `5.10.1` in `app` (via `dependencies` +
`overrides`) for GHSA-8r6m-32jq-jx6q.
- Override Next.js transitive `sharp` to `0.35.3` in `apps/web` for
GHSA-f88m-g3jw-g9cj.

✨ **Added**
- Add `scripts/security-dependency-versions.test.mjs` to regression-test
that:
  - workspace manifests include the expected pins/overrides,
- `package-lock.json` resolved versions are semver-equal-or-greater than
the patched targets,
- `CHANGELOG.md` `## [1.6.0-rc.3]` contains the expected CVE/GHSA
identifiers and patched-version statements.

🔧 **Changed**
- Update `app/package.json` to pin/override `fast-uri@3.1.4` and
`fast-xml-parser@5.10.1`.
- Update `ui/package.json` to override `fast-uri@3.1.4`.
- Update `apps/web/package.json` to override `sharp@0.35.3`.
- Record the security dependency refresh in `CHANGELOG.md` under `##
[1.6.0-rc.3]`.
- Supersede prior Renovate updates.

- Confirm the previously canceled release workflow / post-merge advisory
failure no longer blocks publication.
- Verify all listed CI/validation gates remain passing (Qlty, audit,
test, coverage, build, typecheck, workflow policy, pre-push, rc.3
precheck).
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@renovate renovate Bot changed the title chore(deps): update dependency fast-uri to v3.1.4 [security] chore(deps): update dependency fast-uri to v3.1.4 [security] - autoclosed Jul 22, 2026
@renovate renovate Bot closed this Jul 22, 2026
@renovate
renovate Bot deleted the renovate/npm-fast-uri-vulnerability branch July 22, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants