derrickaw opened a new pull request, #41599:
URL: https://github.com/apache/beam/pull/41599

   Note: this PR was auto-generated by tooling. Before moving it out of draft, 
the author has done a full review of the PR, specifically evaluating it on the 
following criteria:
   
   - The PR remediates a confirmed, live vulnerability on `master` that 
Dependabot is not already addressing
   - The version update is minimal, respects Beam's compatibility bounds, and 
avoids unrelated dependency churn
   - Relevant lockfiles, package constraints, and tests have been verified
   
   If you have concerns with the PR or with the underlying methodology used to 
generate this, please comment below - they will be addressed by the author not 
the tooling :)
   
   ### Summary
   
   Remediates Dependabot security alert 
[#2390](https://github.com/apache/beam/security/dependabot/2390) 
(`CVE-2026-41907`, `uuid < 11.1.1`) in `/sdks/typescript`:
   
   - Replaces the 3 direct `uuid.v4()` usages in 
`src/apache_beam/coders/row_coder.ts`, 
`src/apache_beam/runners/direct_runner.ts`, and `test/io_test.ts` with 
Node.js's built-in `crypto.randomUUID()` and removes the direct `uuid` 
dependency from `sdks/typescript/package.json` (`[email protected]` ships TypeScript 
5.0 `export type *` syntax in its `.d.ts` files, whereas `sdks/typescript` 
compiles with `[email protected]`).
   - Adds `"uuid": "^11.1.1"` to `overrides` in `sdks/typescript/package.json` 
and regenerates `sdks/typescript/package-lock.json` so all transitive `uuid` 
instances (`@google-cloud/bigquery`, `@google-cloud/pubsub`, `google-gax`, 
`gaxios`, `teeny-request`) resolve to `11.1.1` (which ships CommonJS 
`dist/cjs/index.js`).
   
   ### Verification
   
   - `npm run build` (`ttsc -p .` with TypeScript 4.7)
   - `npm run prettier-check`
   - `npm run docs` (`typedoc`)
   - `npm test` (`299 passing`)
   - Verified CJS `require()` of `@google-cloud/bigquery`, 
`@google-cloud/pubsub`, and `google-gax`, and confirmed `package-lock.json` 
resolves `node_modules/uuid` to `11.1.1`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to