Commit f5f4c3e
committed
PROD-79121 - Upgrade uuid from 8.3.2 to 11.1.1
The uuid dependency was pinned to ~8.3.2 (>=8.3.2 <8.4.0), which cannot
resolve to 11.1.1 or later. Consumers of rabbit-queue therefore cannot get
a patched uuid, leaving CVE-2026-41907 (GHSA, missing buffer bounds check
in v3/v5/v6 when buf is provided) unresolvable downstream.
rabbit-queue itself is not affected by that CVE: uuid is only used as
uuid.v4() with no arguments, in ts/queue.ts, ts/exchange.ts and
ts/reply-queue.ts. The pin is the problem, not the usage.
Targets uuid 11.x rather than the latest 14.x deliberately. This package
compiles with module: commonjs, and uuid 11.1.1 is the last line whose
exports map still declares a require condition
("require": "./dist/cjs/index.js"). uuid 12 and later are ESM-only for
Node and would break require() for every CommonJS consumer.
@types/uuid is dropped because uuid 11 ships its own type definitions;
keeping the v8 types alongside it would conflict.1 parent eba8c3f commit f5f4c3e
2 files changed
Lines changed: 14 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | 69 | | |
71 | 70 | | |
72 | 71 | | |
| |||
0 commit comments