-
Notifications
You must be signed in to change notification settings - Fork 42
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
Moderate Severity: Axios CSRF Vulnerability in Versions 0.8.1 to 1.5.1 #111
Comments
+1 |
This vulnerability does not affect the SDK because we don't use axios with XSRF-TOKEN cookies or any external hosts. Nevertheless, we should update the SDK dependencies in general. |
It would also be great if there could be a new major version that uses the built-in Node.js fetch support which has been stable since Node.js v18. The I think removing them is the best option security wise, and I don't see much reason to continue supporting Node.js versions less than v18. |
Sure thing, I'll tackle this.
We need to be able to stream data. The IMO we have two options:
@stefansundin is there another way to go about this? |
Check out the work-in-progress pull request for this at #112. I am happy to drop axios and bump to Node 16 in order to use
|
We can directly go with Node 18 and drop support for older versions. The old SDK version is still available for older Node versions. I have seen some workarounds to make native |
I'll try that |
I have updated #112 to use built-in We now only require a single dependency (socket.io). I removed everything else. This is a breaking change. Users are now unable to directly pass streams they created using @josiasmontag if you dislike the changes in #112 then we can try to find yet a different solution. One option is to go back to I am sort of tempted to write custom logic to convert any data source to a multipart/form-data stream. That way, we could
This would come at the expense of new complexity, and I am not sure if you like to see that. |
Hi,
We recently found this issue when updating the packages,
in
npm audit
we got this Moderate Severity issue:current cloudconvert version: 2.3.5
Would be great if this can be updated.
Thank you.
The text was updated successfully, but these errors were encountered: