[agent] chore(deps): bump transitive uuid to ^11.1.1 (GHSA-w5hq-g745-h8pq)#762
Draft
github-actions[bot] wants to merge 1 commit into
Draft
[agent] chore(deps): bump transitive uuid to ^11.1.1 (GHSA-w5hq-g745-h8pq)#762github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Add npm overrides to force uuid >= 11.1.1 across all transitive dependencies. Two vulnerable paths were identified: - aws-sdk@2.x -> uuid@8.0.0 (runtime) - nyc -> istanbul-lib-processinfo -> uuid@^8.3.2 (dev) Neither maintainer has shipped a release that resolves uuid to >= 11.1.1, so an npm overrides entry is used to force the patched version. aws-sdk was verified to only use uuid's v4() API, which is compatible. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Fixes Dependabot alert #263 — GHSA-w5hq-g745-h8pq / CVE-2026-41907:
uuidmissing buffer bounds check inv3/v5/v6when an external buffer is provided.Vulnerable range:
uuid < 11.1.1. First patched version:11.1.1.Root cause
uuidappears transitively via two paths:dl-center→aws-sdk@^2.x→uuid8.0.0nyc→istanbul-lib-processinfo→uuid8.3.2Neither
aws-sdkv2 noristanbul-lib-processinfo@2.xhas shipped a release that pulls inuuid >= 11.1.1, so there is no direct-dependency version bump that resolves the advisory.Fix
Added an npm
overridesentry in the rootpackage.jsonto forceuuid@^11.1.1across the entire tree:After applying the override and running
npm install:aws-sdknow resolves touuid@11.1.1 overridden(top-level, deduplicated)istanbul-lib-processinfonow resolves touuid@11.1.1 dedupedaws-sdkv2 uses onlyuuid'sv4()API for generating request IDs; this API is fully backward-compatible between v8 and v11.