Skip to content

chore(deps): upgrade uuid to v11 - #529

Open
orien wants to merge 1 commit into
bkrem:masterfrom
orien:chore/upgrade-uuid
Open

chore(deps): upgrade uuid to v11#529
orien wants to merge 1 commit into
bkrem:masterfrom
orien:chore/upgrade-uuid

Conversation

@orien

@orien orien commented Jul 15, 2026

Copy link
Copy Markdown

Context

The project depends on uuid ^8.3.1. It uses a single symbol — import { v4 as uuidv4 } from 'uuid' — to generate instance and node IDs.

Version 8 is no longer maintained. The uuid team currently ships fixes only for latest (v14) plus three backport lines, exposed as the legacy-11 (11.1.1), legacy-12 (12.0.1), and legacy-13 (13.0.2) npm dist-tags; majors at or below v10 receive no updates. That gap matters here because all uuid releases before 11.1.1 (8.3.1 among them) are affected by CVE-2026-41907: a missing buffer bounds check in the v3/v5/v6 functions when a buf argument is supplied, allowing an out-of-bounds write (CWE-787, CVSS 7.5). The fix was backported as far as 11.1.1 — the oldest still-maintained line — and never to v8. This project only calls v4() with no buffer, so the flaw is not exploitable in our usage, but the unmaintained, affected version still surfaces in dependency audits.

Changes

  • Upgrade uuid to ^11.1.1, moving onto a maintained line and clearing the affected version. 11.1.1 is the newest release that still ships CommonJS (dropped in v12), so it resolves cleanly under the existing Jest 24 harness with no config changes. The runtime source is unchanged; the v4 import is stable across v8→v11 and the library build (tsc) passes untouched.

Considerations

  • Staying on v11 keeps the CommonJS build, avoiding the ESM/exports-field workarounds that a jump to v12+ would require under this project's Jest 24 toolchain. v11 is the oldest still-maintained line, so a later move to v12+ (and the accompanying test-harness migration) remains future work.
  • A separate transitive uuid@3.4.0 still reaches the tree via coveralls > request; it is unaffected by this change and would be cleared by upgrading those dev dependencies.
  • Verified: npm run build passes and npm test passes all 4 suites (79 passed, 2 pre-existing skips).

Move off the unmaintained v8 line onto v11 (legacy-11), the newest
uuid release that still ships CommonJS and includes the fix for
CVE-2026-41907. Requires no test-harness changes.
@orien
orien force-pushed the chore/upgrade-uuid branch from 1da1a7c to 9a8a263 Compare August 14, 2026 00:26
@orien orien changed the title chore(deps): upgrade uuid to v14 chore(deps): upgrade uuid to v11 Aug 14, 2026
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