LuciferYang opened a new pull request, #59156:
URL: https://github.com/apache/spark/pull/59156

   ### What changes were proposed in this pull request?
   
   This regenerates the two `package-lock.json` files with `npm audit fix 
--package-lock-only`, moving `brace-expansion` past the advisory range in both 
npm projects. Only the lockfiles change; no `package.json` and no direct 
dependency is touched.
   
   Version moves:
   
   - `dev`: `brace-expansion` 1.1.18 -> 1.1.21, `fast-uri` 3.1.7 -> 3.1.8.
   - `ui-test`: `brace-expansion` 1.1.18 -> 1.1.21 (under `test-exclude`), 
2.1.4 -> 2.1.7 (under `@jest/reporters`, `jest-config`, `jest-runtime`), and 
5.0.9 -> 5.0.12 (top level).
   
   ### Why are the changes needed?
   
   `brace-expansion` 
[GHSA-q2hr-2g5m-vwhr](https://github.com/advisories/GHSA-q2hr-2g5m-vwhr): 
quadratic-time expansion of the `{a},b}` rewrite causes a CPU denial of 
service. `npm audit` also flags two recursion advisories that the same patched 
releases close: 
[GHSA-qhr7-859c-m2p7](https://github.com/advisories/GHSA-qhr7-859c-m2p7) (stack 
exhaustion on nested brace groups) and 
[GHSA-6j4f-fj2g-mc7p](https://github.com/advisories/GHSA-6j4f-fj2g-mc7p) (stack 
exhaustion in `parseCommaParts`). All resolve in range.
   
   This addresses https://github.com/apache/spark/security/dependabot/246, 
https://github.com/apache/spark/security/dependabot/254, 
https://github.com/apache/spark/security/dependabot/255 and 
https://github.com/apache/spark/security/dependabot/256.
   
   The `dev` run also carries `fast-uri` 3.1.7 -> 3.1.8, which clears 
[GHSA-hrr3-gc8f-f4qj](https://github.com/advisories/GHSA-hrr3-gc8f-f4qj) 
(inconsistent host case normalization via percent-encoded octets, moderate) so 
the audit comes back clean.
   
   These are dev/test-only dependencies, but it is worth keeping the audit 
clean.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   `npm audit` reports 0 vulnerabilities in both projects afterward, and `npm 
ci` reproduces both lockfiles unmodified. GitHub Actions does not run `npm 
audit` or `npm ci`.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 4.8
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to