chore(deps): bump axios from ^0.21.1 to ^1.9.0#2393
Open
ZLeventer wants to merge 1 commit intogoogleanalytics:mainfrom
Open
chore(deps): bump axios from ^0.21.1 to ^1.9.0#2393ZLeventer wants to merge 1 commit intogoogleanalytics:mainfrom
ZLeventer wants to merge 1 commit intogoogleanalytics:mainfrom
Conversation
Addresses CVE-2023-45857 (SSRF via forged server-side requests when axios follows redirects with credentials) and CVE-2024-39338 (SSRF bypass via cross-origin redirect). The 0.x line is unsupported; 1.x is the current stable series.
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
Bumps
axios(devDependency) from^0.21.1to^1.9.0.Motivation
The 0.x axios line has two known CVEs that affect code using axios with redirect-following:
Authorizationheader to redirect targets on different originsBoth are fixed in the 1.x series. The 0.x line is no longer maintained upstream.
Change
axiosis a devDependency used in the test/tooling layer only — it is not included in the production bundle. No application source changes are required.Migration notes
axios 1.x has minor breaking changes around config merging and error shape. Since this package uses axios only as a devDependency (not imported in
src/), no application code changes are needed alongside this bump.