Skip to content

[Snyk] Security upgrade axios from 0.27.2 to 1.15.0#631

Open
macpro-snyk-service-account wants to merge 1 commit intomasterfrom
snyk-fix-5700ddfa4cf1114099cc3165623eefa4
Open

[Snyk] Security upgrade axios from 0.27.2 to 1.15.0#631
macpro-snyk-service-account wants to merge 1 commit intomasterfrom
snyk-fix-5700ddfa4cf1114099cc3165623eefa4

Conversation

@macpro-snyk-service-account
Copy link
Copy Markdown
Collaborator

snyk-top-banner

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

Snyk changed the following file(s):

  • services/proxy-api/package.json
  • services/proxy-api/yarn.lock

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
critical severity Unintended Proxy or Intermediary ('Confused Deputy')
SNYK-JS-AXIOS-15965856
  306  

Breaking Change Risk

Merge Risk: High

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.

…o reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-15965856
@macpro-snyk-service-account
Copy link
Copy Markdown
Collaborator Author

Merge Risk: High

This is a major version upgrade from 0.27.2 to 1.15.0 which includes significant breaking changes introduced in version 1.0.0. Developer action is required to ensure compatibility.

Key Breaking Changes:

  • Error Handling: The structure of error objects has been standardized. Code that relies on the previous error structure, especially in try/catch blocks, will likely break and must be updated to handle the new format.
  • ES Modules (ESM): Axios v1 now ships as an ESM package. This can cause failures in older test runners (like Jest) or build systems that expect CommonJS modules. You may need to update your Jest configuration or other tooling.
  • URL Parameter Handling: The initial 1.0.0 release had bugs related to handling URLs with query parameters, though these issues have been addressed in subsequent patches included in this upgrade.

Recommendation: This upgrade requires careful testing and code modification. Developers must review their error handling logic and test environments. Refer to the official migration guide for detailed instructions.

Source: Axios v1.x Migration Guide, Official Changelog

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

@macpro-snyk-service-account
Copy link
Copy Markdown
Collaborator Author

macpro-snyk-service-account commented Apr 10, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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