codesandbox-importers icon indicating copy to clipboard operation
codesandbox-importers copied to clipboard

posibility of a 2.2.4 release with updated axios

Open evansrobert opened this issue 2 years ago • 2 comments

Hi, @CompuIves @sbinlondon,

Issue Description

I noticed that a vulnerability is introduced in [email protected]: Vulnerability CVE-2020-28168 affects package axios (versions:<0.21.1): https://snyk.io/vuln/SNYK-JS-AXIOS-1038255 The above vulnerable package is referenced by [email protected] via: [email protected][email protected]

Since [email protected] (3,338 downloads per week) is referenced by 93 downstream projects (e.g., @patternfly/react-docs 4.21.35 (latest version), trafimage-maps 1.5.36 (latest version), @antv/gatsby-theme-antv 1.1.8 (latest version), storybook-addon-preview 2.1.2 (latest version), mobility-toolbox-js 1.3.5 (latest version)), the vulnerability CVE-2020-28168 can be propagated into these downstream projects and expose security threats to them via the following package dependency paths: (1)@antv/[email protected][email protected][email protected] (2) @pxwlab/[email protected][email protected][email protected] ......

If [email protected].* removes the vulnerable package from the above version, then its fixed version can help downstream users decrease their pain.

Given the large number of downstream users, could you help update your package to remove the vulnerability from [email protected] ?

Fixing suggestions

In [email protected], maybe you can kindly try to perform the following upgrade(not crossing major version) : axios ^0.18.1 ➔ ^0.21.1;

Note: [email protected](>=0.21.1) has fixed the vulnerability CVE-2020-28168.

Thank you for your attention to this issue.

Best regards, ^_^

evansrobert avatar Aug 12 '21 08:08 evansrobert

Hi @evansrobert thank you for raising this 🚀 We'll have a look at this upgrade and work on it if it makes sense for us. We're currently rewriting this service into our Elixir server so it actually won't be around much longer but if this is a quick fix then we can definitely do it 👍

sbinlondon avatar Aug 12 '21 10:08 sbinlondon

@sbinlondon Thanks for your understanding and help.

evansrobert avatar Aug 12 '21 10:08 evansrobert