Skip to content

Fix dependency CVEs: kafka-clients, react-router, serialize-javascript, fast-uri, brace-expansion - #44

Merged
lekhrocks merged 3 commits into
mainfrom
chore/dependency-cve-fixes
Aug 5, 2026
Merged

Fix dependency CVEs: kafka-clients, react-router, serialize-javascript, fast-uri, brace-expansion#44
lekhrocks merged 3 commits into
mainfrom
chore/dependency-cve-fixes

Conversation

@lekhrocks

Copy link
Copy Markdown
Owner

Summary

Resolves five open dependency CVEs across the Java, UI, and website projects.

Changes

Java

  • kafka-clients 3.9.0 → 3.9.2CVE-2025-27817 (SSRF/arbitrary file read, fixed 3.9.1). Also matches the version Debezium already requests.

UI

  • react-router-dom → react-router v8 (8.3.0)GHSA-qwww-vcr4-c8h2 (RSC mode CSRF bypass, fixed 8.3.0). react-router-dom has no v8 (merged into react-router), so switched the dependency and migrated all imports (react-router-domreact-router). React 19.2.7 already meets v8's peer requirement.
  • brace-expansion 1.1.16 → 1.1.18CVE-2026-69152 (transitive via minimatch).

Website

  • serialize-javascript 6.0.2 → 7.0.7GHSA-5c6j-r48x-rmvq (fixed 7.0.3) via package.json overrides bumping copy-webpack-plugin to 14.0.0 and css-minimizer-webpack-plugin to 8.0.0 (latest, which require serialize-javascript ^7).
  • fast-uri 3.1.3 → 3.1.5CVE-2026-18446, CVE-2026-16221.
  • brace-expansion 1.1.16 → 1.1.18CVE-2026-69152.

Validation

  • Full ./gradlew test passes
  • UI: tsc --noEmit + vite build pass
  • Website: docusaurus build passes

Notes

  • The website override bumps the two webpack plugins, which re-resolves the tree (some transitive deps move to newer compatible versions). Build verified.
  • Jetty CVE-2026-1605 and uuid CVE-2026-41907 remain as documented accepted risk (unfixable without breaking Debezium/webpack-dev-server; addressed in a separate follow-up).
  • A follow-up will implement real token authentication and CSRF policy end-to-end (CSRF is currently disabled for the header-token API).

kafka-clients 3.9.0 pinned in the version catalog was vulnerable to
CVE-2025-27817 (fixed in 3.9.1). Bump to 3.9.2, which also matches the
version Debezium already requests (the 3.9.0 pin was downgrading it).
…c8h2)

react-router-dom@7.18.1 (via react-router 7.18.1) is vulnerable to
GHSA-qwww-vcr4-c8h2 (RSC mode CSRF bypass, fixed in react-router 8.3.0).
react-router-dom has no v8 release (the package was merged into
react-router), so switch the dependency to react-router@8.3.0 and update
all imports from 'react-router-dom' to 'react-router'. React 19.2.7 already
meets v8's peer requirement. Also bumps brace-expansion to 1.1.18
(CVE-2026-69152, pulled transitively via minimatch).

Verified: tsc --noEmit and vite build pass.
…on CVEs

- serialize-javascript 6.0.2 -> 7.0.7 (GHSA-5c6j-r48x-rmvq): bump
  copy-webpack-plugin to 14.0.0 and css-minimizer-webpack-plugin to 8.0.0
  via package.json overrides; both latest versions require serialize-
  javascript ^7.0.3. docusaurus build passes with the overrides.
- fast-uri 3.1.3 -> 3.1.5 (CVE-2026-18446, CVE-2026-16221)
- brace-expansion 1.1.16 -> 1.1.18 (CVE-2026-69152)

No direct dependencies added; all resolved within existing ranges or via
documented overrides.
@lekhrocks lekhrocks self-assigned this Aug 5, 2026
@lekhrocks
lekhrocks merged commit 3e2d2b1 into main Aug 5, 2026
18 checks passed
@lekhrocks
lekhrocks deleted the chore/dependency-cve-fixes branch August 5, 2026 11:17
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