Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.x]: upgrade vulnerable axios 0.27.2 #15448

Closed
d--j opened this issue Jul 31, 2024 · 1 comment
Closed

[4.x]: upgrade vulnerable axios 0.27.2 #15448

d--j opened this issue Jul 31, 2024 · 1 comment

Comments

@d--j
Copy link
Contributor

d--j commented Jul 31, 2024

What happened?

Description

axios 0.27.2 has these two vulnerabilities:

Please upgrade axios to 0.28.1

"axios": "^0.27.2",

At least GHSA-wf5p-g6vw-rhxx has been fixed in there. axios/axios#6131 has only been fixed in 1.6.3 but upgrading to this version would probably be a breaking change and it is "only" a ReDoS attack.

Steps to reproduce

  1. Navigate to the following URL: https://example.com/admin/login
  2. Open the browser's built in developer tools
  3. Enter the following string into the JavaScript console: axios.VERSION
  4. Note that the application includes a version of Axios 0.27.2 which has known security issues associated with it

Craft CMS version

4.10.7

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

brandonkelly added a commit that referenced this issue Aug 1, 2024
@brandonkelly
Copy link
Member

Thanks for reporting that! I’ve updated Axios to 0.28.1 for the next Craft 4 release. (Craft 5 is already running 1.6.5.)

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

No branches or pull requests

2 participants