Skip to content

chore(deps): bump js-yaml, brace-expansion, d3-color to patch DoS/ReDoS in cypress-base - #43664

Merged
hainenber merged 2 commits into
masterfrom
chore/security-bump-cypress-base-deps
Aug 29, 2026
Merged

hainenber merged 2 commits into
masterfrom
chore/security-bump-cypress-base-deps

Conversation

@rusackas

Copy link
Copy Markdown
Member

SUMMARY

Patches three DoS/ReDoS vulnerabilities in superset-frontend/cypress-base, all transitive dependencies of E2E test tooling (not shipped application code):

Left untouched: extract-zip (alert #1526, same manifest) has no patched version published upstream yet (npm latest is still 2.0.1, the vulnerable version) — it's used internally by cypress only to unpack its own downloaded binary during install, not to process untrusted input. Nothing to bump; flagging separately rather than opening a no-op PR for it.

TESTING INSTRUCTIONS

Dependency-only change to E2E tooling, no application source touched, so no new test is added — the existing Cypress/CI suite is the regression check.

Verified locally via npm install --package-lock-only that all three packages resolve to patched versions everywhere in the tree (npm ls js-yaml, npm ls brace-expansion, npm ls d3-color), and npm audit no longer flags any of the three (only the known-unfixable extract-zip chain remains).

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration
  • Introduces new feature or API
  • Removes existing feature or API

…oS in cypress-base

Three transitive dependency overrides in superset-frontend/cypress-base,
all E2E test tooling (not shipped app code):

- js-yaml 4.1.1 -> 4.3.1, fixing quadratic-CPU DoS via YAML merge-key
  chains and !!omap resolution (GHSA advisories behind alerts #1512,
  #1434, #1387). Pulled in by @cypress/code-coverage; the existing
  override pin just needed bumping.
- brace-expansion 1.1.16 -> 1.1.18 (two nested instances, under
  glob's and test-exclude's bundled minimatch@<10), fixing unbounded
  expansion-length and intermediate-array DoS (#1485, #1480). The
  parent's declared ^1.1.7 range already permitted 1.1.18; added a
  scoped override mirroring the existing minimatch@>=10 one so both
  minimatch generations resolve a safe brace-expansion.
- d3-color 1.4.1 -> 3.1.0, fixing a ReDoS in color-string parsing
  (#1474). d3-interpolate (the only consumer) declares peer support
  for d3-color 1-3, so the major bump is within its own compatibility
  contract.

extract-zip (#1526, also open on this manifest) is left untouched:
no patched version exists upstream yet, and it's used by cypress
itself only to unpack its own downloaded binary at install time.

Dependency-only change, no application source touched, so no new
test is added -- the existing Cypress/CI suite is the regression
check.
@bito-code-review

bito-code-review Bot commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Bito Automatic Review Skipped - Files Excluded

Bito didn't auto-review this change because all changed files are in the exclusion list for automatic reviews. No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the excluded files settings here, or contact your Bito workspace admin at [email protected].

…-rvv9-x895)

The 5.x minimatch>=10 override was pinned to >=5.0.8, which is still
vulnerable to a newer DoS advisory (unbounded intermediate arrays,
bypassing the CVE-2026-14257 mitigation fixed in 5.0.8). Not yet
surfaced as a GitHub Dependabot alert on this repo as of this PR;
found via npm audit while fixing the adjacent 1.x instance.
@codecov

codecov Bot commented Aug 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.21%. Comparing base (30402b4) to head (dffb3a2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #43664   +/-   ##
=======================================
  Coverage   79.21%   79.21%           
=======================================
  Files        2879     2879           
  Lines      166040   166040           
  Branches    38405    38405           
=======================================
  Hits       131536   131536           
  Misses      32025    32025           
  Partials     2479     2479           
Flag Coverage Δ
javascript 74.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hainenber
hainenber merged commit 3d91ba3 into master Aug 29, 2026
87 checks passed
@hainenber
hainenber deleted the chore/security-bump-cypress-base-deps branch August 29, 2026 07:02
rusackas added a commit that referenced this pull request Aug 29, 2026
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.

clean up forms.py/viz.py once form config is all on frontend

2 participants