Skip to content

chore(deps): patch uuid buffer-bounds vulnerability in bedrock-agentcore JS examples#13545

Merged
czubocha merged 1 commit into
mainfrom
fix-uuid-bedrock-examples
May 5, 2026
Merged

chore(deps): patch uuid buffer-bounds vulnerability in bedrock-agentcore JS examples#13545
czubocha merged 1 commit into
mainfrom
fix-uuid-bedrock-examples

Conversation

@czubocha
Copy link
Copy Markdown
Contributor

@czubocha czubocha commented May 5, 2026

Summary

Patches GHSA-w5hq-g745-h8pq (uuid: missing buffer bounds check in v3/v5/v6 when buf is provided) across the 11 langgraph-* JavaScript example lockfiles under packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/.

Each example carries a nested @langchain/langgraph-sdkuuid@13.0.0 (vulnerable). Bumped to uuid@13.0.2 (security backport).

After the fix, npm audit reports 0 vulnerabilities in every example.

Risk

  • Lockfile-only change. No package.json, source, or runtime behavior modified.
  • Patch-version bump within the existing major (13.0.013.0.2).
  • Example projects only — not shipped in the published serverless package.

Test plan

  • CI green

…ore JS examples

Patches GHSA-w5hq-g745-h8pq across 11 langgraph-* JS example lockfiles
under packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript.

Bumps nested @langchain/langgraph-sdk's uuid from 13.0.0 to 13.0.2
(security backport). Companion to #13530, which patched the root
workspace; example projects sit outside the workspace so were missed.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 5, 2026

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (11)
  • packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/langgraph-basic-dockerfile/package-lock.json is excluded by !**/package-lock.json
  • packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/langgraph-basic/package-lock.json is excluded by !**/package-lock.json
  • packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/langgraph-browser-custom/package-lock.json is excluded by !**/package-lock.json
  • packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/langgraph-browser/package-lock.json is excluded by !**/package-lock.json
  • packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/langgraph-code-interpreter-custom/package-lock.json is excluded by !**/package-lock.json
  • packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/langgraph-code-interpreter/package-lock.json is excluded by !**/package-lock.json
  • packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/langgraph-comprehensive/package-lock.json is excluded by !**/package-lock.json
  • packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/langgraph-gateway/package-lock.json is excluded by !**/package-lock.json
  • packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/langgraph-memory/package-lock.json is excluded by !**/package-lock.json
  • packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/langgraph-multi-gateway/package-lock.json is excluded by !**/package-lock.json
  • packages/serverless/lib/plugins/aws/bedrock-agentcore/examples/javascript/langgraph-streaming/package-lock.json is excluded by !**/package-lock.json

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 25c629be-c6af-489e-bde9-15b0209c3524

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-uuid-bedrock-examples

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Mmarzex
Copy link
Copy Markdown
Contributor

Mmarzex commented May 5, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@czubocha czubocha merged commit a668d73 into main May 5, 2026
12 checks passed
@czubocha czubocha deleted the fix-uuid-bedrock-examples branch May 5, 2026 17:18
@github-actions github-actions Bot locked and limited conversation to collaborators May 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants