Skip to content

chore(deps): bump uuid to ^14.0.0 (GHSA-w5hq-g745-h8pq)#3680

Merged
Kitenite merged 1 commit intomainfrom
chore/bump-uuid-v14
Apr 23, 2026
Merged

chore(deps): bump uuid to ^14.0.0 (GHSA-w5hq-g745-h8pq)#3680
Kitenite merged 1 commit intomainfrom
chore/bump-uuid-v14

Conversation

@Kitenite
Copy link
Copy Markdown
Collaborator

@Kitenite Kitenite commented Apr 23, 2026

Summary

  • Bumps uuid from ^13.0.0 to ^14.0.0 in apps/desktop and packages/local-db to clear Dependabot alert #29 (GHSA-w5hq-g745-h8pq).
  • The advisory covers a missing buffer bounds check in v3/v5/v6 when a caller-provided buffer is passed. Our usage is limited to v4(), validate, and version with no caller buffers, so there's no direct exposure — this just clears the alert.

Test plan

  • bun install — lockfile resolves uuid@14.0.0
  • bun run --filter '@superset/local-db' typecheck
  • bun run --filter '@superset/desktop' typecheck

Summary by CodeRabbit

  • Chores
    • Updated dependency versions across packages to the latest releases for improved stability and compatibility.

Summary by cubic

Bump uuid to ^14.0.0 in apps/desktop and packages/local-db to resolve GHSA-w5hq-g745-h8pq and clear Dependabot alert #29. No behavior changes; we only use v4(), validate, and version without caller buffers.

  • Dependencies
    • Updated uuid to ^14.0.0 and refreshed bun.lock.
    • Fixes missing buffer bounds checks in v3/v5/v6 when a caller-provided buffer is used.

Written for commit 0609406. Summary will update on new commits.

Addresses GHSA-w5hq-g745-h8pq (Dependabot #29): uuid < 14.0.0 is missing
buffer bounds checks in v3/v5/v6 when a caller-provided buffer is passed,
allowing silent partial writes.

Our usage is limited to v4()/validate/version with no caller buffers, so
there's no direct exposure, but bumping to 14.0.0 clears the alert.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 23, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 553da76f-fba3-45ec-9f5e-ee4e0d59143c

📥 Commits

Reviewing files that changed from the base of the PR and between 4a1af2e and 0609406.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • apps/desktop/package.json
  • packages/local-db/package.json

📝 Walkthrough

Walkthrough

The uuid dependency is upgraded from version 13 to 14 across two package.json files in the desktop application and local database packages.

Changes

Cohort / File(s) Summary
UUID Dependency Upgrade
apps/desktop/package.json, packages/local-db/package.json
Bumped uuid dependency from ^13.0.0 to ^14.0.0 in both package.json files.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 The UUID version hops from thirteen to fourteen,
A simple bump in our dependency scene,
Two packages aligned in harmony,
No logic changed, just dependency! ✨

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Description check ❓ Inconclusive The description provides context for the dependency bump, links the related Dependabot alert, explains the advisory details and impact, and documents the test plan. However, it does not follow the provided template structure with sections like 'Type of Change', 'Testing', or other required sections. While the content is substantive and clear, consider following the repository's PR description template to ensure consistency and completeness across all structured sections.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: bumping the uuid dependency to ^14.0.0 to address a security advisory (GHSA-w5hq-g745-h8pq), which matches the changeset perfectly.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-uuid-v14

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.

@greptile-apps
Copy link
Copy Markdown

greptile-apps Bot commented Apr 23, 2026

Greptile Summary

This PR bumps uuid from ^13.0.0 to ^14.0.0 in apps/desktop and packages/local-db to remediate a Dependabot security alert (GHSA-w5hq-g745-h8pq) — a missing buffer bounds check in the v3/v5/v6 code paths when a caller-supplied buffer is provided. The project's actual usage (v4(), validate, and version without caller buffers) is not directly exposed to the vulnerability, but the bump is correct hygiene.

  • Both package.json files are correctly updated from ^13.0.0 to ^14.0.0.
  • The bun.lock top-level uuid entry resolves to uuid@14.0.0 as expected.
  • Two new nested lockfile entries (@mastra/mcp/uuid and @types/uuid/uuid) now pin uuid@13.0.0 — these are controlled by upstream packages and can't be fixed here, but they may continue to surface in automated vulnerability scans.

Confidence Score: 5/5

Safe to merge — minimal, targeted dependency bump with verified lockfile resolution and no API-breaking concerns for the project's actual uuid usage.

The change is a one-line version range update in two package.json files plus the corresponding lockfile update. The security advisory only affects v3/v5/v6 with caller-provided buffers, and the project uses only v4(), validate, and version. Typechecks were verified per the test plan. The only note is two transitive uuid@13.0.0 entries remaining in the lockfile from upstream dependencies, which is informational and not a regression introduced by this PR.

No files require special attention beyond the informational note on the two residual uuid@13.0.0 transitive entries in bun.lock.

Important Files Changed

Filename Overview
apps/desktop/package.json Bumps uuid dependency from ^13.0.0 to ^14.0.0 to address GHSA-w5hq-g745-h8pq.
packages/local-db/package.json Bumps uuid dependency from ^13.0.0 to ^14.0.0 to address GHSA-w5hq-g745-h8pq.
bun.lock Lockfile resolved to uuid@14.0.0 for top-level packages; new nested entries @mastra/mcp/uuid and @types/uuid/uuid are pinned at uuid@13.0.0 (transitive deps outside this repo's control).

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[bun.lock top-level] -->|resolves to| B["uuid@14.0.0 (patched)"]
    C[apps/desktop/package.json] -->|"^14.0.0"| B
    D[packages/local-db/package.json] -->|"^14.0.0"| B
    E["@mastra/mcp nested dep"] -->|still pins| F["uuid@13.0.0 (transitive)"]
    G["@types/uuid nested dep"] -->|still pins| F
Loading
Prompt To Fix All With AI
This is a comment left during a code review.
Path: bun.lock
Line: 6313

Comment:
**Transitive `uuid@13.0.0` still present in lockfile**

The upgrade to `uuid@14.0.0` at the top level is correct, but Bun has now created two new nested dependency entries that still pin `uuid@13.0.0`:

- `@mastra/mcp/uuid``uuid@13.0.0`
- `@types/uuid/uuid``uuid@13.0.0`

These entries mean that `@mastra/mcp` (a transitive dependency) and the `@types/uuid` package still resolve to the vulnerable version internally. This PR can't directly fix them since they're controlled by upstream packages, but it's worth being aware that Dependabot or other scanners may still flag `uuid@13.0.0` in the lockfile even after this bump. You may want to open an issue upstream for `@mastra/mcp` to update its peer dependency range, or apply an overrides/resolutions entry if you want to force the entire tree to `uuid@14.0.0`.

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "chore(deps): bump uuid from ^13.0.0 to ^..." | Re-trigger Greptile

Comment thread bun.lock

"@mastra/mcp/@mastra/core": ["@mastra/core@1.25.0", "", { "dependencies": { "@a2a-js/sdk": "~0.2.5", "@ai-sdk/provider-utils-v5": "npm:@ai-sdk/provider-utils@3.0.23", "@ai-sdk/provider-utils-v6": "npm:@ai-sdk/provider-utils@4.0.23", "@ai-sdk/provider-v5": "npm:@ai-sdk/provider@2.0.1", "@ai-sdk/provider-v6": "npm:@ai-sdk/provider@3.0.8", "@ai-sdk/ui-utils-v5": "npm:@ai-sdk/ui-utils@1.2.11", "@isaacs/ttlcache": "^2.1.4", "@lukeed/uuid": "^2.0.1", "@mastra/schema-compat": "1.2.8", "@modelcontextprotocol/sdk": "^1.27.1", "@sindresorhus/slugify": "^2.2.1", "@standard-schema/spec": "^1.1.0", "ajv": "^8.18.0", "chat": "^4.24.0", "dotenv": "^17.3.1", "execa": "^9.6.1", "gray-matter": "^4.0.3", "hono": "^4.12.8", "hono-openapi": "^1.3.0", "ignore": "^7.0.5", "js-tiktoken": "^1.0.21", "json-schema": "^0.4.0", "lru-cache": "^11.2.7", "p-map": "^7.0.4", "p-retry": "^7.1.1", "picomatch": "^4.0.3", "radash": "^12.1.1", "tokenx": "^1.3.0", "ws": "^8.19.0", "xxhash-wasm": "^1.1.0" }, "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" } }, "sha512-4dkDXtufKWRO5Y7ic2JIgHpSSty5uYhqjiS2JfbKb3uV7rNpty8Fp5vSKC1ept08UudKAd5CcZWLNeKSP5816A=="],

"@mastra/mcp/uuid": ["uuid@13.0.0", "", { "bin": { "uuid": "dist-node/bin/uuid" } }, "sha512-XQegIaBTVUjSHliKqcnFqYypAd4S+WCYt5NIeRs6w/UAry7z8Y9j5ZwRRL4kzq9U3sD6v+85er9FvkEaBpji2w=="],
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Transitive uuid@13.0.0 still present in lockfile

The upgrade to uuid@14.0.0 at the top level is correct, but Bun has now created two new nested dependency entries that still pin uuid@13.0.0:

  • @mastra/mcp/uuiduuid@13.0.0
  • @types/uuid/uuiduuid@13.0.0

These entries mean that @mastra/mcp (a transitive dependency) and the @types/uuid package still resolve to the vulnerable version internally. This PR can't directly fix them since they're controlled by upstream packages, but it's worth being aware that Dependabot or other scanners may still flag uuid@13.0.0 in the lockfile even after this bump. You may want to open an issue upstream for @mastra/mcp to update its peer dependency range, or apply an overrides/resolutions entry if you want to force the entire tree to uuid@14.0.0.

Prompt To Fix With AI
This is a comment left during a code review.
Path: bun.lock
Line: 6313

Comment:
**Transitive `uuid@13.0.0` still present in lockfile**

The upgrade to `uuid@14.0.0` at the top level is correct, but Bun has now created two new nested dependency entries that still pin `uuid@13.0.0`:

- `@mastra/mcp/uuid``uuid@13.0.0`
- `@types/uuid/uuid``uuid@13.0.0`

These entries mean that `@mastra/mcp` (a transitive dependency) and the `@types/uuid` package still resolve to the vulnerable version internally. This PR can't directly fix them since they're controlled by upstream packages, but it's worth being aware that Dependabot or other scanners may still flag `uuid@13.0.0` in the lockfile even after this bump. You may want to open an issue upstream for `@mastra/mcp` to update its peer dependency range, or apply an overrides/resolutions entry if you want to force the entire tree to `uuid@14.0.0`.

How can I resolve this? If you propose a fix, please make it concise.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 23, 2026

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ✅ Neon database branch

Thank you for your contribution! 🎉

@Kitenite Kitenite merged commit 64a36f0 into main Apr 23, 2026
14 checks passed
@Kitenite Kitenite deleted the chore/bump-uuid-v14 branch April 23, 2026 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant