CDP-6026: force transitive uuid to ^11.1.1 to resolve Dependabot alert#196
CDP-6026: force transitive uuid to ^11.1.1 to resolve Dependabot alert#196jcpsimmons wants to merge 1 commit into
Conversation
The Dependabot alert was for uuid<11.1.1 coming in as a devDep-only transitive (nyc -> istanbul-lib-processinfo -> uuid@8.3.2). The vulnerable code path (buf parameter to v3/v5/v6) is not reached by nyc's usage, so this is a hygiene fix rather than a real exposure. The override lets the security tab go quiet without a wider toolchain bump. npm install now reports 0 vulnerabilities.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Summary
Resolves Dependabot alert #40 (medium severity: missing buffer bounds check in uuid v3/v5/v6 when
bufis provided).uuid@8.3.2enters the dependency tree only as a devDep transitive:nyc -> istanbul-lib-processinfo -> uuid. Its vulnerable code path (thebufparameter to v3/v5/v6) is not reached by nyc's usage, so the real exposure is essentially zero. The shipped SDK has no dependency on uuid at all. Still, anoverridesentry inpackage.jsonis the cheapest way to silence the security tab without a wider toolchain bump.Test plan
npm installreports0 vulnerabilitiesnpm ls uuidshows the override taking effect (uuid@11.1.1 overridden)npm run buildcleannpm testpasses, nyc 100% coverage gate holdsThe change is two files:
package.json(newoverridesblock) andpackage-lock.json(regenerated lockfile).