fix: add npm override for axios (CVE-2025-58754)#27
Open
jignaciopm wants to merge 1 commit into
Open
Conversation
Axios versions 1.9.0-1.13.4 are vulnerable to DoS via large data schemes. Force resolution to ^1.15.0 (resolves to 1.18.0) via npm overrides. Regenerated package-lock.json for npm ci compatibility. Refs: CVE-2025-58754
05d2bf6 to
488da9e
Compare
Author
CI failure is pre-existing — not caused by this PRThe Codecov failure is a configuration issue unrelated to this PR's changes: Codecov requires an upload token ( What this PR changesOnly |
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
Add npm
overridesfor axios to address CVE-2025-58754 (Denial of Service via massive data schemas in Node.js).CVSS: 7.5 (High)
Vulnerability ID: HELICOPTER-W1162-7
Why npm overrides instead of bumping frontend-platform?
The vulnerable axios version (1.9.0) is a transitive dependency of
@edx/frontend-platform. The fix was shipped infrontend-platformv8.5.5+ (axios 1.13.5+), but this MFE's release branch usesfrontend-platform ^8.3.1.Bumping
frontend-platformfrom 8.3.x to 8.5.x on a release branch carries risk of breaking changes. The npm overrides mechanism is the standard approach to force a transitive dependency to a safe version without changing the parent package.Note:
release/verawoodalready ships withfrontend-platform ^8.7.0(axios 1.15.0) and is not affected.frontend-platform axios timeline
Change
Test plan
References