Skip to content

[Snyk] Security upgrade cross-spawn from 7.0.3 to 7.0.5 - #1775

Closed
AgnellusX1 wants to merge 1 commit into
masterfrom
snyk-fix-3523db1925e03d20da6abc9e468255fb
Closed

[Snyk] Security upgrade cross-spawn from 7.0.3 to 7.0.5#1775
AgnellusX1 wants to merge 1 commit into
masterfrom
snyk-fix-3523db1925e03d20da6abc9e468255fb

Conversation

@AgnellusX1

Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • packages/cli-exec/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
  828  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)

@AgnellusX1
AgnellusX1 requested a review from a team as a code owner November 11, 2024 04:16
@ninadbstack
ninadbstack deleted the snyk-fix-3523db1925e03d20da6abc9e468255fb branch March 13, 2025 13:49
pankaj443 added a commit that referenced this pull request Jun 2, 2026
Replace the header-only/truncated base64 mp4 (a 32-byte ftyp box with no
moov/mdat) with a complete, spec-valid minimal mp4 (ftyp+free+mdat+moov).

The original stub engaged the media pipeline in a way the upgraded
Firefox 146 renderer (percy-renderer #1775, FF 139.0.4 -> 146.0.1) failed
to render, causing the Comprehensive snapshot to time out on Firefox. The
discovery/serialization path is identical across CLI versions (verified:
old v126 and new v143 CLI both timed out), so the fixture must carry media
the renderer can actually parse.

Using a valid source keeps the data-URI video serialization path under
test (serialize-video / serializeBase64) while no longer hanging the
renderer. Locally the video now reports networkState=IDLE with no decode
error in both Chromium and Firefox (the stub reported NO_SOURCE).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
pankaj443 added a commit that referenced this pull request Jun 5, 2026
* test: re-add comprehensive.html regression fixture

Restore the comprehensive regression test page that was removed in
PR #2239. The fixture exercises fonts, pseudo-class CSS rules, and
other web features used by the regression suite.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test: comment out video element to verify issue

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test: drop unplayable mp4 source from video poster fixture

The <video> carried a header-only base64 mp4 <source> (a 32-byte ftyp
box with no moov/mdat). It's unplayable and serves no purpose for this
fixture, whose goal is exercising video *poster* handling — serialize-
video.js skips elements that already have a poster attribute, so the
source was never part of any capture path.

The stub engages the browser media pipeline, which the upgraded (v143-
era) Firefox renderer handles differently than v126, causing the
Comprehensive snapshot to fail rendering on Firefox. Removing the
source leaves networkState=EMPTY (no load attempt) in both Chromium and
Firefox while keeping the poster — the actual thing under test.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* test: use a valid mp4 source in video poster fixture

Replace the header-only/truncated base64 mp4 (a 32-byte ftyp box with no
moov/mdat) with a complete, spec-valid minimal mp4 (ftyp+free+mdat+moov).

The original stub engaged the media pipeline in a way the upgraded
Firefox 146 renderer (percy-renderer #1775, FF 139.0.4 -> 146.0.1) failed
to render, causing the Comprehensive snapshot to time out on Firefox. The
discovery/serialization path is identical across CLI versions (verified:
old v126 and new v143 CLI both timed out), so the fixture must carry media
the renderer can actually parse.

Using a valid source keeps the data-URI video serialization path under
test (serialize-video / serializeBase64) while no longer hanging the
renderer. Locally the video now reports networkState=IDLE with no decode
error in both Chromium and Firefox (the stub reported NO_SOURCE).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants