Security: Fix CVE-2025-7783 (form-data Critical Vulnerability)#26
Closed
vmrh21 wants to merge 1 commit intotest/workflow-cve-41174from
Closed
Security: Fix CVE-2025-7783 (form-data Critical Vulnerability)#26vmrh21 wants to merge 1 commit intotest/workflow-cve-41174from
vmrh21 wants to merge 1 commit intotest/workflow-cve-41174from
Conversation
- Add npm override for form-data ^4.0.5 to fix CVE-2025-7783 - Update all lock files in monorepo (root, backend, frontend) - Resolves RHOAIENG-30545, RHOAIENG-30546, RHOAIENG-30548 CVE Details: - CVE ID: CVE-2025-7783 - Package: form-data - Severity: Critical (CVSS 9.1) - Impact: Unsafe random function for boundary selection in multipart/form-data - Vulnerable versions: < 4.0.5 - Fixed version: 4.0.5 Files Changed (4 total): - package.json (added overrides) - package-lock.json - backend/package-lock.json - frontend/package-lock.json Breaking Changes: - Minor API changes from 3.x to 4.x, but no code changes required Testing: - Verified form-data@4.0.5 via npm list - Confirmed CVE no longer in npm audit - All automated tests passed (4 suites, 30 tests) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Owner
Author
|
Closing for fresh test run |
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.
Date: 2026-02-26
Summary
This PR fixes CVE-2025-7783 by adding npm override for form-data ^4.0.5. This forces all transitive dependencies to use the patched version, resolving a critical unsafe random function vulnerability in multipart/form-data boundary selection.
CVE Details
Fix Method
Used npm
overridesfield (recommended approach for this monorepo):{ "overrides": { "form-data": "^4.0.5" } }Files Changed (4 total)
package.json(added overrides)package-lock.jsonbackend/package-lock.jsonfrontend/package-lock.jsonTest Results ✅
Status: All tests passed
Test command:
npm testDuration: 11.8s
Test Summary
Breaking Changes
Low Risk - form-data 4.x has minor API changes from 3.x, but most code is compatible. No code changes were required for this repository.
Verification
Before:
After:
Testing Checklist
npm list form-datanpm auditRisk Assessment
🤖 Generated by CVE Fixer Workflow