EDM-5555: patch CVE-2026-84292 fast-uri Authority Injection - #799
Conversation
Add npm override to pin fast-uri to 3.1.7, fixing CVE-2026-84292 (CVSS 7.5 HIGH). fast-uri < 3.1.7 serializes the port component of a URI without validation, allowing authority injection via unvalidated port serialization. Strategy: npm override (lowest risk). fast-uri 3.1.7 is within the existing ^3.0.1 semver range. Follows the project's existing override pattern for js-yaml and immutable. Resolves: https://redhat.atlassian.net/browse/EDM-5555 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe package override configuration now pins the transitive ChangesDependency pinning
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The dependency override pins fast-uri to the patched 3.1.7 release, with the lockfile resolution reported as aligned. No current merge-readiness risk is identified. Suggested reviewers: Important Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional. ❌ Failed checks (1 error)
✅ Passed checks (14 passed)
Full details: Ai-AttributionExplanation The pull request uses AI, as stated in the PR description and in the commit trailer. The changed commit adds
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Summary
CVE Details
CVE-2026-84292 — fast-uri serializes the port component of a URI without validation, allowing authority injection when untrusted data is assigned to the port through
serialize,normalize, orequalfunctions. Fixed in fast-uri 3.1.7.Fix Strategy
npm override (lowest risk): Added
"fast-uri": "3.1.7"to rootpackage.jsonoverrides. This is a patch-level bump within the existing^3.0.1semver range used by the transitive dependency chain (ajv→fast-uri).Changes
package.json"fast-uri": "3.1.7"tooverridespackage-lock.jsonValidation
npm run lint— PASSnpm run build— PASSTest plan
Resolves: EDM-5555
AI-generated. Review for accuracy.
@amir-yogev-gh requested in Slack thread
Summary
fast-urito3.1.7through the root npm override.package-lock.jsonwith the package URL and integrity hash.^3.0.1range.Affected areas
libs/ui-components/,libs/types/,libs/i18n/,libs/cypress/,apps/standalone/, orapps/ocp-plugin/.