chore(security): patch 3 Dependabot alerts#1606
Merged
Merged
Conversation
- Bump `ws` from ^8.16.0 → ^8.20.1 in `@forestadmin/forest-cloud` (closes alert #364: uninitialized memory disclosure). - Add scoped resolutions pinning `fast-uri` to ^3.1.2 in `@fastify/ajv-compiler` and `fast-json-stringify` chains (closes #357 and #358: host confusion / path traversal). - Drop 4 redundant resolutions whose natural resolutions already satisfy the original pin: `**/socks/ip-address`, `**/ajv/fast-uri`, `**/@langchain/langgraph-sdk/uuid`, `**/@modelcontextprotocol/sdk/hono`.
|
Coverage Impact This PR will not change total coverage. 🚦 See full report on Qlty Cloud »🛟 Help
|
Tonours
approved these changes
May 29, 2026
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.

Summary
3 fixed, 1 ignored, 4 deferred, 2 resolutions added, 4 resolutions removed. | label: 🔒 security applied
Fixed
wswsinpackages/forest-cloud/package.jsonfrom^8.16.0→^8.20.1fast-uri**/@fastify/ajv-compiler/fast-uriand**/fast-json-stringify/fast-uri→^3.1.2fast-uriIgnored
ip-addressip-address@10.2.0already exceeds the patched10.1.1. The only remaining instance,ip-address@5.9.4, is pulled in solely byforest-ip-utils, which calls onlyAddress6+Address6.bigInteger()(verified by readingforest-ip-utils/dist/index.js). None of the vulnerable HTML-emitting methods (group(),link(),spanAll(),AddressError.parseMessage) are reached from our code (verified bygrep -rE "Address6\\.(group\|link\|spanAll)\|parseMessage" packages/*/src packages/*/test). The advisory itself notes "zero consumers of group(), link(), or spanAll() across published npm packages."Deferred (opened < 7 days ago — next run)
@tootallnate/once(6d)uuid(6d)qs(4d)tmp(1d)Resolutions added
fast-uri: ^3.1.2@fastify/ajv-compiler@^2.x → fast-uri@^2.0.0; bumping@fastify/ajv-compilerto 3.x requires Fastify 4.x→5.x (breaking)@fastify/ajv-compilerreleases still pinfast-uri@^2.x; only a major bump publishes a 3.x fast-uripackage.json**/@fastify/ajv-compiler/fast-uri)fast-uri: ^3.1.2fast-json-stringify@^5.x → fast-uri@^2.1.0(transitively viafastify4's@fastify/fast-json-stringify-compiler)fast-json-stringify@5.xstill depends onfast-uri@^2.1.0; 3.x of fast-uri lands only infast-json-stringify@6.x(peer of Fastify 5)package.json**/fast-json-stringify/fast-uri)Resolutions removed
package.json**/socks/ip-address: ^10.1.1socksdeclaresip-address: ^10.0.1, which now naturally resolves to10.2.0(≥ 10.1.1). Verified by removing the entry and re-runningyarn install; the resolved version was unchanged.package.json**/ajv/fast-uri: ^3.1.2ajvdeclaresfast-uri: ^3.0.1, which naturally resolves to3.1.2. Verified by removing the entry and re-runningyarn install.package.json**/@langchain/langgraph-sdk/uuid: ^13.0.1@langchain/langgraph-sdkdeclaresuuid: ^13.0.0, which naturally resolves to13.0.2. Verified.package.json**/@modelcontextprotocol/sdk/hono: ^4.12.18@modelcontextprotocol/sdkdeclareshono: ^4.11.4, which naturally resolves to4.12.21. Verified.Risks
ws8.17.1 → 8.21.0 (3 minor versions in the 8.x line): no API breakage between minors; the changelog covers bug fixes, perf tweaks, and the buffer-disclosure fix that is the point of this bump.forest-clouduseswsonly viaapollo-link-ws+subscriptions-transport-wsfor a single GraphQL subscription client — no behavior change beyond the patched vuln.fast-uri2.3.0 → 3.1.2 (major bump, applied via Yarn resolution on transitive deps of Fastify's ajv-compiler and fast-json-stringify): API change is minimal (fast-uriexposesparse/serialize/equaland a couple of helpers; the 3.x line keeps the same surface but fixes percent-encoded authority and dot-segment parsing). Risk: if Fastify's compilers exercise edge cases that 3.x parses differently, we'd see it in route-validation tests. Ourfastify/fastify2/fastify4matrix is exercised bypackages/agentintegration tests.Manual testing
Covered by CI.
Validation
✅ CI green