Fix dependabot vulnerabilities: cross-spawn and serialize-javascript#10
Open
rohit-gohri with Copilot wants to merge 1 commit into
Open
Fix dependabot vulnerabilities: cross-spawn and serialize-javascript#10rohit-gohri with Copilot wants to merge 1 commit into
rohit-gohri with Copilot wants to merge 1 commit into
Conversation
…lize-javascript to 7.0.5 Agent-Logs-Url: https://github.com/rohit-gohri/tf-patch/sessions/81bbe073-f88d-4728-a48a-9e0288796914 Co-authored-by: rohit-gohri <31949290+rohit-gohri@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
rohit-gohri
March 31, 2026 00:13
View session
rohit-gohri
approved these changes
Apr 11, 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
Fixes two security vulnerabilities in transitive dependencies identified by dependabot:
Vulnerabilities Fixed
cross-spawn (ReDoS - Regular Expression Denial of Service)
>= 7.0.0, < 7.0.57.0.3→7.0.6yarn up --recursive cross-spawnserialize-javascript (RCE - Remote Code Execution via RegExp.flags)
<= 7.0.26.0.2→7.0.5resolutionsoverride inpackage.jsonsincemocha@10constrains to^6.0.2Changes
package.json: Addedresolutionsfield to forceserialize-javascript >= 7.0.3yarn.lock: Updatedcross-spawnto7.0.6andserialize-javascriptto7.0.5Testing
All 7 existing tests pass.