Skip to content

[Snyk] Security upgrade axios from 0.19.0 to 0.21.1 - #3

Open
appfire-developer wants to merge 1 commit into
mainfrom
snyk-fix-b0f15d64e690666bb5b46db8341cd356
Open

[Snyk] Security upgrade axios from 0.19.0 to 0.21.1#3
appfire-developer wants to merge 1 commit into
mainfrom
snyk-fix-b0f15d64e690666bb5b46db8341cd356

Conversation

@appfire-developer

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json
  • package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Improper Removal of Sensitive Information Before Storage or Transfer
SNYK-JS-FOLLOWREDIRECTS-16032162
  631  

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

@appfire-developer

Copy link
Copy Markdown
Author

Merge Risk: Medium

This upgrade from axios v0.19.0 to v0.21.1 includes minor versions that introduce behavioral changes requiring verification.

Key Changes:

  • v0.20.0: This version contains a security fix for Server-Side Request Forgery (SSRF). As part of this fix, the logic for merging configurations was changed, which may affect how default configurations for axios.create() instances are handled. Additionally, how proxy settings are handled has been made more strict.
  • v0.21.0: Introduces new features like maxBodyLength and maxContentLength for controlling request/response sizes.

Potential Impact:

  • The changes to configuration merging and proxy handling in v0.20.0 are the primary risks. Applications that rely on the previous, less strict merging logic or specific proxy behaviors may require updates.

Recommendation:
Verify that your axios.create() instance configurations and any proxy settings behave as expected after the upgrade. Test application functionality that relies on GET requests with data in the body, as support for this was unintentionally affected in v0.20.0.

Source: Axios Release Notes

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants