-
Notifications
You must be signed in to change notification settings - Fork 92
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
Please upgrade axios to >1.6.0 #175
Comments
Thanks, will look into updating this. |
Released as 1.4.4, thanks for reporting! |
Haha, resolved before I'd finished reading the list of affected packages. Great work. :) |
Perhaps this should have been a minor change instead of just a patch, due to axios moving from commonJS to ES between these two versions. Maybe it is not relevant, but we did see some legacy stuff fall over after pulling 1.4.4 so leaving this comment for posterity. |
Typically i wouldnt disagree, but in this case there is no option to stick to any other axios version. As its a high vulnerability, i wanted to ensure this gets out to as many as possible. Maybe it's worth dropping axios altogether, as we only use it in one place, which is deprecated anyway. Can you elaborate what fell apart and did you solve it or did you pin to an older version of our SDK? Looking at the readme, it does look like it still supports commonjs tho? https://github.com/axios/axios |
@Bharts8 I looked into this, and was not able to reproduce this. Would appreciate some more information to help understand scenario's where this would break. What I did was, i took this project, and migrated it to use the latest version of passport-auth0 and was still able to successfully run the application and use the SDK, including the deprecated method that actually uses axios. I assume you are using something that does not support the Can you share some information about the tooling involved? Mostly node version or module loaders. |
Yea after a little more digging there are other issues that really exacerbated that legacy stuff. The reliance on a completely outdated node version was probably the more sinister culprit that just exposed this the underlying import in pasport-auth0 which blew out for us. I don't think you need to specifically do anything (though it'd be interesting to see if there WERE any breaking changes between a 0.X and a 1.X just in case, but it doesn't seem like it). At this point this is more so just putting in a comment for the next person who comes sniffing if their builds start coughing, giving them someplace to look at. |
Checklist
Describe the problem you'd like to have solved
There's a security vulnerability in axios 0.x and 1.x < 1.6.
This library depends on axios 0.27:
passport-auth0/package.json
Line 20 in 25d2661
Describe the ideal solution
Please move to an http client without a vuln, easiest is probably axios 1.6.0.
Alternatives and current workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: