Repository navigation
chore(deps): bump js-yaml, brace-expansion, d3-color to patch DoS/ReDoS in cypress-base - #43664
Merged
Merged
Conversation
…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.
Contributor
|
Bito Automatic Review Skipped - Files Excluded |
…-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 Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
hainenber
approved these changes
Aug 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
Patches three DoS/ReDoS vulnerabilities in
superset-frontend/cypress-base, all transitive dependencies of E2E test tooling (not shipped application code):!!omapresolution. Pulled in transitively by@cypress/code-coverage; an existing override was already pinning this package, just needed the version bumped. Closes clean up forms.py/viz.py once form config is all on frontend #1512, datasources are not filtered per user permissions in Slice's "Datasource & Chart Type" #1434, [BUG] Some timestamps in druid query are missing timezone #1387.glob's andtest-exclude's bundledminimatch@<10) — unbounded expansion-length / intermediate-array DoS. The parent's declared^1.1.7range already permitted 1.1.18; added a scoped override mirroring the repo's existingminimatch@>=10one so both minimatch generations resolve a safe brace-expansion. Closes [sqllab] surfacing more table metadata (indices, pk, fks) #1485, Link to database-urls in databaseadd view #1480.d3-interpolate(the only consumer here) declares peer support ford3-color: 1 - 3, so the major bump is within its own compatibility contract. Closes Fix celery module import in comments. #1474.Left untouched:
extract-zip(alert #1526, same manifest) has no patched version published upstream yet (npmlatestis still2.0.1, the vulnerable version) — it's used internally bycypressonly 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-onlythat all three packages resolve to patched versions everywhere in the tree (npm ls js-yaml,npm ls brace-expansion,npm ls d3-color), andnpm auditno longer flags any of the three (only the known-unfixableextract-zipchain remains).ADDITIONAL INFORMATION