Skip to content

fix(cost-management): bump yarn.lock packages for Dependabot CVEs - #4572

Open
kim-tsao wants to merge 1 commit into
redhat-developer:mainfrom
kim-tsao:cost-management-cve-bumps
Open

fix(cost-management): bump yarn.lock packages for Dependabot CVEs#4572
kim-tsao wants to merge 1 commit into
redhat-developer:mainfrom
kim-tsao:cost-management-cve-bumps

Conversation

@kim-tsao

@kim-tsao kim-tsao commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

  • yarn up -R on workspaces/cost-management for open Dependabot alert packages, then yarn install and yarn dedupe.
  • Keep react-router / react-router-dom on the same patch (co-bump; auto-included react-router-dom).

Fully fixed

package before after CVEs cleared
@grpc/grpc-js 1.13.4 1.14.4 CVE-2026-48068, CVE-2026-48069
@remix-run/router 1.23.2 1.23.4 CVE-2026-40181
basic-ftp 5.0.5 5.3.1 CVE-2026-27699, GHSA-6v7q-wjvx-w8wg
brace-expansion 1.1.11, 2.1.0, 5.0.5 1.1.18, 2.1.4, 5.0.9 CVE-2026-13149
form-data 2.5.6, 4.0.5 2.5.6, 4.0.6 CVE-2026-12143
http-proxy-middleware 2.0.9 2.0.10 CVE-2026-55602
js-cookie 2.2.1 3.0.8 CVE-2026-46625
launch-editor 2.10.0 2.14.1 CVE-2026-53632
multer 2.1.1 2.3.0 CVE-2026-5038, CVE-2026-5079
mysql2 3.14.1 3.24.3 GHSA-3f6p-5ww8-9rcr, GHSA-rgwj-5xj2-c3m3
pbkdf2 3.1.2 3.1.6 CVE-2025-6545, CVE-2025-6547
picomatch 2.3.1, 4.0.4 2.3.2, 4.0.7 CVE-2026-33672
qs 6.14.2, 6.15.3, 6.16.0 6.15.3, 6.16.0 CVE-2026-8723
react-router-dom 6.30.3 6.30.6 -
webpack-dev-server 5.2.1 5.2.6 CVE-2026-14620, CVE-2026-14631, CVE-2026-6402, CVE-2026-9595
websocket-driver 0.7.4 0.7.5 CVE-2026-54466

Partial leftovers

package before after remaining
axios 1.15.2, 1.9.0 1.20.0, 1.9.0 1.9.0
js-yaml 3.14.1, 4.1.1, 4.3.1 3.15.2, 4.1.1, 4.3.2 4.1.1
minimatch 10.2.3, 10.2.5, 3.1.2, 5.1.6, 7.4.9, 8.0.4, 9.0.5 10.2.3, 10.2.6, 3.1.2, 3.1.5, 5.1.9, 7.4.9, 8.0.7, 9.0.9 3.1.2
react-router 6.30.3 6.30.6 6.30.6
tmp 0.0.33, 0.2.5 0.0.33, 0.2.7 0.0.33

Unchanged

package before after remaining
@nestjs/core 11.1.1 11.1.1 needs 11.1.18
@octokit/plugin-paginate-rest 6.1.2 6.1.2 needs 9.2.2
@octokit/request 6.2.8, 8.4.1 6.2.8, 8.4.1 still 6.x; patched line is 8.4.1
@octokit/request-error 3.0.3, 5.1.1 3.0.3, 5.1.1 still 3.x; patched line is 5.1.1
file-type 16.5.4, 20.5.0 16.5.4, 20.5.0 needs 21.3.1
ip-address 10.1.0, 9.0.5 10.1.0, 9.0.5 needs 10.1.1, 10.3.1
lodash 4.17.21, 4.17.23, 4.18.1 4.17.21, 4.17.23, 4.18.1 4.17.21, 4.17.23
tar 6.2.1, 7.5.22 6.2.1, 7.5.22 6.2.1
tar-fs 2.0.1, 2.1.5, 3.1.3 2.0.1, 2.1.5, 3.1.3 2.0.1
uuid 10.0.0, 11.1.1, 3.4.0, 8.3.2, 9.0.1 10.0.0, 11.1.1, 3.4.0, 8.3.2, 9.0.1 10.0.0, 3.4.0, 8.3.2, 9.0.1

Co-authored-by: Cursor <cursoragent@cursor.com>
@rhdh-qodo-merge

Copy link
Copy Markdown

PR Summary by Qodo

Patch cost-management dependencies for Dependabot CVEs

🐞 Bug fix ⚙️ Configuration changes 🕐 20-40 Minutes

Grey Divider

AI Description

• Upgrades vulnerable runtime and development dependencies in the cost-management lockfile.
• Aligns React Router packages on 6.30.6 with the patched router core.
• Refreshes and deduplicates transitive resolutions after recursive Yarn updates.
Diagram

graph TD
  A["Dependabot Alerts"] --> B["Yarn Refresh"] --> C["Workspace Lockfile"] --> D["Runtime Packages"]
  C --> E["Frontend Routing"]
  C --> F["Development Tooling"]
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Split upgrades by advisory
  • ➕ Reduces each review's dependency scope
  • ➕ Simplifies regression attribution and rollback
  • ➖ Requires many lockfile regenerations
  • ➖ Increases CI and merge overhead
  • ➖ May repeatedly conflict across shared transitive resolutions
2. Pin vulnerable transitive packages with resolutions
  • ➕ Produces smaller targeted lockfile changes
  • ➕ Can patch dependencies blocked by upstream version ranges
  • ➖ Adds long-lived override maintenance
  • ➖ May conceal compatibility constraints
  • ➖ Previous workspace cleanup intentionally removed most resolutions

Recommendation: Keep the batched recursive lockfile refresh. The packages share a transitive graph, and coordinated upgrades—especially React Router—avoid mismatched resolutions while clearing many alerts efficiently. Review should confirm the reported partial leftovers separately and validate installation, build, tests, and security scanning before merge.

Files changed (1) +437 / -199

Other (1) +437 / -199
yarn.lockResolve vulnerable dependencies to patched releases +437/-199

Resolve vulnerable dependencies to patched releases

• Regenerates and deduplicates the cost-management dependency graph to upgrade vulnerable runtime, frontend, and development packages. It also co-bumps React Router packages and refreshes affected transitive dependencies, checksums, and resolution selectors.

workspaces/cost-management/yarn.lock

@sonarqubecloud

sonarqubecloud Bot commented Sep 3, 2026

Copy link
Copy Markdown

@rhdh-qodo-merge

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can add REVIEW.md to your repo root and Qodo follows it on every PR

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.36%. Comparing base (193b36a) to head (10da727).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4572   +/-   ##
=======================================
  Coverage   62.36%   62.36%           
=======================================
  Files        2607     2607           
  Lines      104739   104739           
  Branches    29433    29423   -10     
=======================================
  Hits        65325    65325           
- Misses      37584    37588    +4     
+ Partials     1830     1826    -4     
Flag Coverage Δ *Carryforward flag
adoption-insights 84.77% <ø> (ø) Carriedforward from 193b36a
ai-integrations 78.80% <ø> (ø) Carriedforward from 193b36a
app-defaults 56.22% <ø> (ø) Carriedforward from 193b36a
augment 46.67% <ø> (ø) Carriedforward from 193b36a
boost 80.51% <ø> (ø) Carriedforward from 193b36a
bulk-import 73.12% <ø> (ø) Carriedforward from 193b36a
cost-management 13.35% <ø> (ø)
dcm 73.47% <ø> (ø) Carriedforward from 193b36a
e2e-adoption-insights 60.00% <ø> (ø) Carriedforward from 193b36a
e2e-extensions 62.32% <ø> (ø) Carriedforward from 193b36a
e2e-global-header 50.35% <ø> (ø) Carriedforward from 193b36a
e2e-homepage 61.11% <ø> (ø) Carriedforward from 193b36a
e2e-intelligent-assistant 47.04% <ø> (ø) Carriedforward from 193b36a
e2e-orchestrator 49.52% <ø> (ø) Carriedforward from 193b36a
e2e-orchestrator-plugin 49.51% <ø> (ø) Carriedforward from 193b36a
e2e-quickstart 55.21% <ø> (ø) Carriedforward from 193b36a
e2e-scorecard 50.21% <ø> (ø) Carriedforward from 193b36a
e2e-theme 16.36% <ø> (ø) Carriedforward from 193b36a
extensions 56.66% <ø> (ø) Carriedforward from 193b36a
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 193b36a
global-header 68.09% <ø> (ø) Carriedforward from 193b36a
homepage 48.48% <ø> (ø) Carriedforward from 193b36a
install-dynamic-plugins 71.31% <ø> (ø) Carriedforward from 193b36a
intelligent-assistant 76.43% <ø> (ø) Carriedforward from 193b36a
konflux 91.98% <ø> (ø) Carriedforward from 193b36a
lightspeed 69.02% <ø> (ø) Carriedforward from 193b36a
mcp-integrations 84.14% <ø> (ø) Carriedforward from 193b36a
orchestrator 71.13% <ø> (ø) Carriedforward from 193b36a
quickstart 63.74% <ø> (ø) Carriedforward from 193b36a
sandbox 79.56% <ø> (ø) Carriedforward from 193b36a
scorecard 87.90% <ø> (ø) Carriedforward from 193b36a
theme 87.91% <ø> (ø) Carriedforward from 193b36a
translations 5.12% <ø> (ø) Carriedforward from 193b36a
x2a 77.10% <ø> (ø) Carriedforward from 193b36a

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 193b36a...10da727. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant