fix(cve): update npm dependencies for 9 CVE fixes - #8438
fix(cve): update npm dependencies for 9 CVE fixes#8438openshift-merge-bot[bot] merged 10 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
2d5fcad to
ec943e4
Compare
|
@crackcodecamp pls mention JIRA tickets |
|
Ran
rest of the claimed packages look good. deferred ones (js-yaml / fastify / undici) still show up as expected
|
|
@dpanshug Added all 37 Jira trackers in the PR description grouped by package:
|
|
Thanks for the review @PR3MM Here's the breakdown: fast-uri → 3.1.4 — Agreed, will bump. New advisory (GHSA-v2hh-gcrm-f6hx) flags 3.1.3. Trivial patch. brace-expansion — The audit now shows <=5.0.7 as vulnerable (GHSA-3jxr-9vmj-r5cp, GHSA-mh99-v99m-4gvg), which means every published version including 2.1.2 and the latest 5.0.7 is affected. There's no safe version available yet - bumping won't resolve the audit finding. We'll update once upstream publishes a fix. Root axios 1.16.1 — This is a devOptional dependency (pulled by wait-on and @module-federation/dts-plugin). It's excluded from the production image (npm ci --omit=dev in Dockerfile). The production axios at frontend/node_modules/axios is correctly at 1.18.1. No CVE scanner will flag it in the built image. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## stable-2.x #8438 +/- ##
==============================================
- Coverage 67.95% 67.94% -0.02%
==============================================
Files 2238 2238
Lines 50822 50822
Branches 14243 14243
==============================================
- Hits 34538 34530 -8
- Misses 16284 16292 +8 see 4 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
/lgtm tested on a 2.25.9 cluster |
Fixes CVE-2026-42044, CVE-2026-42264, CVE-2026-44486, CVE-2026-44487, CVE-2026-44488, CVE-2026-44492, CVE-2026-44494, CVE-2026-44495, CVE-2026-44496 Update axios override in root package.json to >=1.18.1 and bump frontend direct dependency from ^1.15.0 to ^1.18.1. Minor version bump only, no breaking changes.
Fixes CVE-2026-13676, CVE-2026-6322 Update fast-uri override from >=3.1.1 to 3.1.3. Patch version bump, no breaking changes.
Fixes CVE-2026-45736, CVE-2026-48779 Update ws dependency and override from ^8.17.1 to ^8.21.0. Minor version bump within 8.x, no breaking changes.
Fixes CVE-2026-42211, CVE-2026-42342 Update react-router and react-router-dom from ^7.6.2 to ^7.15.1 (resolves to 7.18.1). Updated in root overrides, sdk-utils nested overrides, and frontend direct deps. Minor version bump within 7.x.
Fixes CVE-2026-12143 Add form-data override to >=4.0.6, consolidating all instances from 4.0.4/4.0.5/2.5.5 to 4.0.6. Patch version bump, no breaking changes.
Fixes CVE-2026-13149 Add brace-expansion override pinned to 2.0.3. Patch bump from 2.0.2, no breaking changes.
Fixes CVE-2026-13311 Add shell-quote override >=1.8.4 (resolves to 1.9.0). Minor version bump within 1.x, no breaking changes.
Fixes CVE-2026-46625 Add js-cookie override >=3.0.6 (resolves to 3.0.8). Patch version bump within 3.0.x, no breaking changes.
Addresses GHSA-v2hh-gcrm-f6hx which flagged fast-uri 3.1.3 as still vulnerable. Patch bump, no breaking changes.
The global brace-expansion override to 2.0.3 broke nyc/istanbul coverage reporting (brace_expansion_1.expand is not a function). Additionally, npm audit now flags <=5.0.7 meaning no safe version exists yet. Without the override, npm naturally resolves to 1.1.16 (root) and 2.1.2 (nested) — the latest available patches.
4c07c26 to
5d085b1
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dpanshug, manaswinidas The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
7565019
into
opendatahub-io:stable-2.x
fix(cve): update npm dependencies for 9 CVE fixes (opendatahub-io#8438)



Summary
Update npm dependencies to fix 19 CVEs across 8 packages, addressing 37 Jira trackers for RHOAI 2.25.9.
Changes (one commit per package)
All are minor/patch version bumps — no major version changes.
Jira Trackers
Not addressed in this PR
Test plan
Tested locally against live RHOAI 2.25.9 cluster (
apps.ag-dash-225-pool-j7dwt.aws.rh-ods.com):npm run build— frontend + backend compile successfullynpm run test:backend— 17/17 unit tests passapplication.cy.ts— login and page load passtestUserLogin.cy.ts— admin + non-admin login pass (2/2)testApplicationLinks.cy.ts— navigation links passtestProjectCreation.cy.ts— create/delete projects pass (3/4, 1 flaky OAuth redirect)testProjectEditing.cy.ts— passes individually, flaky in batch run (OAuth redirect)Note: The 2 flaky failures are caused by OAuth redirect inconsistency (browser sometimes lands on cluster URL instead of localhost after auth) — pre-existing test infra issue, not related to dependency changes.