Repository navigation
chore(deps): bump js-yaml to patch quadratic-CPU DoS (superset-frontend) - #43663
Merged
Merged
Conversation
Patches all five transitive js-yaml instances in superset-frontend/package-lock.json against GHSA quadratic-CPU-consumption DoS in !!omap resolution (Dependabot alerts #1514, #1513): - top-level (via @istanbuljs/load-nyc-config, js-yaml-loader): 3.15.0 -> 3.15.1 - cosmiconfig, lerna, react-diff-viewer-continued, stylelint (each via their own nested js-yaml): 4.3.0 -> 4.3.1 Added targeted overrides in package.json per consumer rather than a single blanket override, since the two 3.x consumers and four 4.x consumers are on incompatible major versions with a different API (safeLoad vs load). Transitive-only; no application code imports js-yaml directly (webpack.config.js references the separate js-yaml-loader package by name, itself a build-time-only webpack loader). No new test needed.
Contributor
|
Bito Automatic Review Skipped - Files Excluded |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #43663 +/- ##
=======================================
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
rusackas
added a commit
that referenced
this pull request
Aug 29, 2026
3 of 4 tasks
3 tasks
1 of 6 tasks
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 Dependabot alerts #1514 and #1513: js-yaml has a quadratic-CPU-consumption DoS in
!!omapresolution, affecting both the 3.x and 4.x lines (fixed in 3.15.1 and 4.3.1 respectively).js-yamlis transitive-only insuperset-frontend/package-lock.json— five instances across two major-version lines:@istanbuljs/load-nyc-config,js-yaml-loadercosmiconfig(dev)lerna(dev)react-diff-viewer-continued(runtime)stylelint(dev, via its own cosmiconfig)Added per-consumer overrides in
package.jsonrather than one blanket override, since the 3.x and 4.x consumers are on incompatible major versions with a different API (safeLoadvsload) — a single global override would force one line onto consumers expecting the other.TESTING INSTRUCTIONS
Transitive dependency patch only. Confirmed no application code imports
js-yamldirectly —webpack.config.jsreferences the separatejs-yaml-loaderpackage by name (a build-time-only webpack loader for parsing YAML fixtures), notjs-yamlitself. No new test needed; existing CI is the regression check.ADDITIONAL INFORMATION