fix: override uuid to ^14.0.0 to patch GHSA-w5hq-g745-h8pq#1147
Merged
brendan-kellam merged 3 commits intomainfrom Apr 23, 2026
Merged
fix: override uuid to ^14.0.0 to patch GHSA-w5hq-g745-h8pq#1147brendan-kellam merged 3 commits intomainfrom
brendan-kellam merged 3 commits intomainfrom
Conversation
Fixes SOU-981 Adds a yarn resolution forcing `uuid@^14.0.0` across the workspace, consolidating the five vulnerable copies (9.0.1, 10.0.0, 11.1.0, 13.0.0) pulled transitively via bullmq, @sentry/webpack-plugin, @posthog/ai, @langchain/core, langchain, langsmith, @langchain/langgraph, and @langchain/langgraph-sdk into a single non-vulnerable version. GHSA-w5hq-g745-h8pq describes missing buffer bounds checks in uuid's v3/v5/v6 APIs when a caller-provided `buf` is passed. A call-site audit showed the vulnerable code path is not reachable in this tree (no consumer passes a `buf` argument), so the override is a cleanup to silence SCA alerts rather than a fix for a live runtime issue. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
Contributor
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
WalkthroughUpdates the transitive Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
License Audit❌ Status: FAIL
Fail Reasons
Unresolved Packages
Weak Copyleft Packages (informational)
Resolved Packages (7)
|
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.
Fixes SOU-981
Summary
resolutionsentry forcinguuid@^14.0.0across the workspace, consolidating five vulnerable copies (9.0.1, 10.0.0, 11.1.0, 13.0.0) into one patched version.bullmq,@sentry/webpack-plugin,@posthog/ai,@langchain/core,langchain,langsmith,@langchain/langgraph, and@langchain/langgraph-sdk.v3/v5/v6APIs when a caller-providedbufis passed. A call-site audit showed no consumer in this tree passes abufargument, so the vulnerable code path is not reachable — this is an SCA-alert cleanup, not a fix for a live runtime issue.Notes on the upgrade
uuid@14drops CommonJS support (since v12) and requires Node 20+ (v14). Sourcebot ships on Node 24 withrequire(esm)support, and named-exportrequire('uuid')usage from the CJS consumers (bullmq,@sentry/webpack-plugin) works cleanly.Test plan
yarn installsucceeds andyarn.lockconsolidates to a singleuuid@14.0.0yarn buildpassesyarn testpassesrequire('uuid'))@sourcebot/webproduction build with Sentry release upload succeeds (@sentry/webpack-plugin)@posthog/aiagent run succeeds (exercisesv5/v6call sites in langgraph-checkpoint and langsmith)🤖 Generated with Claude Code
Summary by CodeRabbit
uuiddependency to version 14.0.0.