-
Notifications
You must be signed in to change notification settings - Fork 17
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
Bump isomorphic-unfetch in @appsignal/core #621
Comments
Thanks for letting us know @MarkZsombor! I'll take a look. |
I have bumped up the However, I would like to clarify that there is no vulnerability to be exploited in how AppSignal uses First of all, note that neither The Furthermore, the request that is performed does not use headers to authenticate, therefore the vulnerability where headers are passed in cross-domain requests is not relevant. Finally, since the request is made over HTTPS, there is no reasonable attack model to exploit this vulnerability and steal the AppSignal API key -- an attacker who can do an HTTPS man-in-the-middle to make AppSignal return a redirect that |
Hi there, unfortunately the switch to
Looks like v4 is now node or ESM-only, at least with esbuild. Setting the esbuild target to node is not an option, as I'm using this in a frontend application. Over at unfetch there is an open issue with a similar problem and webpack: developit/unfetch#176 but not much activity. Unfortunately I haven't had time to look into this further, just wanted to give a heads up in case anyone else runs into this problem. :) Maybe the easiest solution would be to downgrade isomorphic fetch again while figuring this out, especially given that the vulnerability does not affect appsignal? |
Hi @fekle, I will take a look at this and let you know. |
Hi @fekle, First of all, thank you for reporting this issue. I have not been able to reproduce the exact issue you're encountering, but I have been able to reproduce this similar issue: developit/unfetch#164. I was able to fix it by using version However, a more fundamental point is that We have now released /cc @menno |
Hi @unflxw, thank you very much! Upgrading to |
The version of
isomorphic-unfetch
(v3.1.0) used in the current version of@appsignal/core
(v1.1.20) is using a librarynode-fetch
v2.6.1 which has a known security venerability. GHSA-r683-j2x4-v87gIs it possible to bump
isomorphic-unfetch
to v4 which has the patched version ofnode-fetch
?The text was updated successfully, but these errors were encountered: