fix: braces: fails to limit the number of characters it can handle#35
Draft
galanko wants to merge 1 commit into
Draft
fix: braces: fails to limit the number of characters it can handle#35galanko wants to merge 1 commit into
galanko wants to merge 1 commit into
Conversation
Remediation for CVE-2024-4068: Update nodemon to ^3.1.0 and add npm override for braces to >=3.0.3 to prevent memory exhaustion vulnerability. - Updated nodemon from ^3.0.1 to ^3.1.0 (brings chokidar with braces@3.0.3) - Added npm override to force braces@3.0.3+ across all dependencies - All vulnerable instances of braces@2.3.2 replaced with braces@3.0.3 - Tests pass successfully with updated dependencies - No breaking changes to application functionality Fixes: CVE-2024-4068 (CVSS 7.5) Affects: braces < 3.0.3
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
Automated remediation for CVE-2024-4068: braces fails to limit the number of characters it can handle
Changes
Vulnerability Details
Root Cause
The vulnerable version braces@2.3.2 was introduced transitively through:
Fix Applied
Updated nodemon from ^3.0.1 to ^3.1.0
Added npm override for braces to >=3.0.3
Verification
✅ All braces@2.3.2 instances replaced with braces@3.0.3
✅ No braces@2.3.2 in dependency tree
✅ Unit tests pass
✅ No breaking changes to application functionality
✅ Normal braces parsing works correctly
Files Modified
Generated by OpenSec remediation agent