The latest version of sendgrid-nodejs, 7.4.0 is using axios 0.19.2 which contains a Server Side Request Forgery (SSRF) vulnerability. Currently there's no patch available from axios. Please update sendgrid-nodejs whenever the fixes are available.
Axios tracking issue:
https://github.com/axios/axios/issues/3369
Vulnerability report from Snyk:
https://snyk.io/vuln/SNYK-JS-AXIOS-1038255
@sendgrid/mail will also need to be updated when fixes are available.
Thank you for reporting this @huydoan2!
This vulnerability has since been fixed on [email protected]. Can you bump this dependency when you get a chance?
Thanks @shackbarth. I create a pull request with changes to review here @thinkingserious https://github.com/sendgrid/sendgrid-nodejs/pull/1236
Any update on this? Will be resolved by this merge request https://github.com/sendgrid/sendgrid-nodejs/pull/1239
fix has been published to npm as v7.4.1
Most helpful comment
fix has been published to npm as v7.4.1