Skip to content

[Snyk] Security upgrade axios from 1.2.2 to 1.6.4#969

Open
posit-snyk-bot wants to merge 1 commit intomainfrom
snyk-fix-7ca1b7b062addb199444e24f232a2106
Open

[Snyk] Security upgrade axios from 1.2.2 to 1.6.4#969
posit-snyk-bot wants to merge 1 commit intomainfrom
snyk-fix-7ca1b7b062addb199444e24f232a2106

Conversation

@posit-snyk-bot
Copy link
Copy Markdown
Contributor

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):

  • apps/vscode/package.json

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.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Prototype Pollution
SNYK-JS-AXIOS-6144788
  192  

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:

🦉 Prototype Pollution

@posit-snyk-bot
Copy link
Copy Markdown
Contributor Author

Merge Risk: Medium

This upgrade from version 1.2.2 to 1.6.4 of axios is a minor update that includes several security patches and behavioral changes that require verification.

Notable Changes:

  • Behavioral Change: The fetch adapter now enforces maxBodyLength and maxContentLength. Previously, these limits were ignored. Requests with large bodies that previously worked with the fetch adapter may now fail if they exceed configured limits. [1, 3]
  • Stricter Parsing: The parseProtocol function is now stricter and may reject URLs that were previously accepted. [1, 3]
  • URL Encoding: The deprecated unescape() function has been replaced with modern UTF-8 encoding, which may alter how non-ASCII characters in URLs are handled. [1, 3]
  • Security: Numerous security vulnerabilities have been patched, including fixes for prototype pollution and header injection. [1, 2]

Recommendation:
Verify that any applications using the fetch adapter with large request bodies are not impacted by the new enforcement of maxBodyLength and maxContentLength. Test applications that rely on unusual URL formats or non-ASCII characters in URLs.

Source: Axios v1.x Changelog

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

@posit-snyk-bot
Copy link
Copy Markdown
Contributor Author

posit-snyk-bot commented May 6, 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

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

@juliasilge
Copy link
Copy Markdown
Collaborator

Related to:

Probably need to decide what the best call is! FYI in Positron, we decided to do 1.15.2: posit-dev/positron#13160

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.

3 participants