You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "rusackas (via GitHub)" <gi...@apache.org> on 2026/08/28 23:23:18 UTC
[PR] chore(deps): bump js-yaml to patch quadratic-CPU DoS (superset-frontend) [superset]
rusackas opened a new pull request, #43663:
URL: https://github.com/apache/superset/pull/43663
### SUMMARY
Patches Dependabot alerts #1514 and #1513: js-yaml has a quadratic-CPU-consumption DoS in `!!omap` resolution, affecting both the 3.x and 4.x lines (fixed in 3.15.1 and 4.3.1 respectively).
`js-yaml` is transitive-only in `superset-frontend/package-lock.json` — five instances across two major-version lines:
| Instance | Required by | Before | After |
|---|---|---|---|
| top-level (dev) | `@istanbuljs/load-nyc-config`, `js-yaml-loader` | 3.15.0 | 3.15.1 |
| `cosmiconfig` (dev) | cosmiconfig ^4.1.0 | 4.3.0 | 4.3.1 |
| `lerna` (dev) | lerna, hard-pinned | 4.3.0 | 4.3.1 |
| `react-diff-viewer-continued` (runtime) | ^4.2.0 | 4.3.0 | 4.3.1 |
| `stylelint` (dev, via its own cosmiconfig) | ^4.1.0 | 4.3.0 | 4.3.1 |
Added per-consumer overrides in `package.json` rather than one blanket override, since the 3.x and 4.x consumers are on incompatible major versions with a different API (`safeLoad` vs `load`) — 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-yaml` directly — `webpack.config.js` references the separate `js-yaml-loader` package by name (a build-time-only webpack loader for parsing YAML fixtures), not `js-yaml` itself. No new test needed; existing CI is the regression check.
### ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(deps): bump js-yaml to patch quadratic-CPU DoS (superset-frontend) [superset]
Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #43663:
URL: https://github.com/apache/superset/pull/43663#issuecomment-5458787777
AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(deps): bump js-yaml to patch quadratic-CPU DoS (superset-frontend) [superset]
Posted by "codecov[bot] (via GitHub)" <gi...@apache.org>.
codecov[bot] commented on PR #43663:
URL: https://github.com/apache/superset/pull/43663#issuecomment-5458861567
## [Codecov](https://app.codecov.io/gh/apache/superset/pull/43663?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 79.21%. Comparing base ([`30402b4`](https://app.codecov.io/gh/apache/superset/commit/30402b412c2c4f8a30b65419944d519143b3272b?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`02a1c25`](https://app.codecov.io/gh/apache/superset/commit/02a1c259d0929ae47e1551474092e37a1b6269b9?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
<details><summary>Additional details and impacted files</summary>
```diff
@@ 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
```
| [Flag](https://app.codecov.io/gh/apache/superset/pull/43663/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [javascript](https://app.codecov.io/gh/apache/superset/pull/43663/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `74.69% <ø> (ø)` | |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/superset/pull/43663?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [PR] chore(deps): bump js-yaml to patch quadratic-CPU DoS (superset-frontend) [superset]
Posted by "hainenber (via GitHub)" <gi...@apache.org>.
hainenber merged PR #43663:
URL: https://github.com/apache/superset/pull/43663
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org