Security: Fix CVE-2023-26115 (word-wrap ReDoS)#27
Closed
vmrh21 wants to merge 1 commit intotest/workflow-cve-41174from
Closed
Security: Fix CVE-2023-26115 (word-wrap ReDoS)#27vmrh21 wants to merge 1 commit intotest/workflow-cve-41174from
vmrh21 wants to merge 1 commit intotest/workflow-cve-41174from
Conversation
3a2f166 to
f3cac9c
Compare
- Add npm override for word-wrap ^1.2.5 to fix CVE-2023-26115 - Update all lock files in monorepo (root, backend, frontend) - Resolves: RHOAIENG-427 and related Jira issues CVE Details: - CVE ID: CVE-2023-26115 - Package: word-wrap - Severity: MODERATE (CVSS 5.3) - Impact: Regular Expression Denial of Service (ReDoS) - Vulnerable versions: <1.2.4 - Fixed version: ^1.2.5 Files Changed (4 total): - package.json (added overrides) - package-lock.json - backend/package-lock.json - frontend/package-lock.json Breaking Changes: - None (pure security patch) Testing: - Verified word-wrap@1.2.5 via npm list - Confirmed CVE no longer in npm audit - All tests passed (30/30 tests passed) - Backend: lint, type-check passed - Frontend: lint, jest, type-check passed Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
f3cac9c to
af3e0ae
Compare
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-2023-26115 (word-wrap ReDoS vulnerability) by adding npm override to force word-wrap ^1.2.5 across all transitive dependencies.
CVE Details
Test Results ✅
Status: All tests passed
Test Framework: npm scripts (run-s test:backend test:frontend)
Test command:
npm testExit code: 0
Duration: <10 minutes
Test Summary
Fix Method
Approach: npm overrides (recommended for transitive dependencies)
Files Changed (4 total):
Breaking Changes
None - pure security patch with no API changes
Testing Checklist
npm listnpm auditRisk Assessment
Overall Risk: LOW
Verification Steps
Verify CVE is resolved:
Verify version:
npm list word-wrap # Expected: word-wrap@1.2.5 overriddenRun tests:
🤖 Generated by CVE Fixer Workflow
📋 Fix implementation report: artifacts/cve-fixer/fixes/fix-implementation-CVE-2023-26115.md