fix(deps): add form-data resolution to fix SNYK-JS-FORMDATA-10841150#608
Open
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): add form-data resolution to fix SNYK-JS-FORMDATA-10841150#608devin-ai-integration[bot] wants to merge 1 commit intomainfrom
devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Conversation
Add yarn resolution for **/form-data to ^4.0.1, fixing CVE SNYK-JS-FORMDATA-10841150 (Predictable Value Range, CVSS 9.8). The vulnerable form-data@4.0.0 was introduced transitively via appium-adb (dev/test dependency). This patch version bump consolidates all form-data versions to 4.0.1. Co-Authored-By: Abhay Aggarwal <abhay.aggarwal@codeium.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
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
Adds a yarn resolution for
**/form-datato^4.0.1to fix critical vulnerability SNYK-JS-FORMDATA-10841150 (Predictable Value Range, CVSS 9.8).The vulnerable
form-data@4.0.0was introduced transitively viaappium-adb(a dev/test dependency). This is a patch version bump (4.0.0 → 4.0.1), very low risk.Changes:
package.json: Added"**/form-data": "^4.0.1"to the existingresolutionsfield (now 45 resolutions total)yarn.lock: Consolidated allform-dataversion entries to resolve to 4.0.1, removing the vulnerable 4.0.0 entryReview & Testing Checklist for Human
form-datano longer resolves to 4.0.0 inyarn.lock(search forversion "4.0.0"nearform-data)yarn installlocally to confirm lockfile integrity (note: CI may also validate this)Notes
yarn installcould not be run in the Devin environment due to a pre-existing broken dependency (react-native-tcpGitHub tarball returns 404). Theyarn.lockwas updated manually to match what yarn would produce with the resolution applied.form-dataspecifiers (4.0.0,^4.0.0,^3.0.1,~2.3.2) to resolve to 4.0.1, consistent with how yarn v1 resolutions work.Link to Devin session: https://app.devin.ai/sessions/6b78d6f120a0491ea1387cdbe751009b
Requested by: @abhay-codeium
Devin Review