graphql-request
graphql-request copied to clipboard
Security issue / update cross-fetch to 4.0.0
graphql-request depends on cross-fetch with outdated node-fetch version:
├─┬ graphql-request 3.7.0
│ └─┬ cross-fetch 3.1.4
│ └── node-fetch 2.6.1
More info:
┌─────────────────────┬────────────────────────────────────────────────────────────────────────────────────────┐
│ high │ node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor │
├─────────────────────┼────────────────────────────────────────────────────────────────────────────────────────┤
│ Package │ node-fetch │
├─────────────────────┼────────────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <2.6.7 │
├─────────────────────┼────────────────────────────────────────────────────────────────────────────────────────┤
│ Patched versions │ >=2.6.7 │
├─────────────────────┼────────────────────────────────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-r683-j2x4-v87g │
└─────────────────────┴────────────────────────────────────────────────────────────────────────────────────────┘
┌─────────────────────┬──────────────────────────────────────────────────────────────────────────┐
│ low │ The `size` option isn't honored after following a redirect in node-fetch │
├─────────────────────┼──────────────────────────────────────────────────────────────────────────┤
│ Package │ node-fetch │
├─────────────────────┼──────────────────────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <2.6.1 │
├─────────────────────┼──────────────────────────────────────────────────────────────────────────┤
│ Patched versions │ >=2.6.1 │
├─────────────────────┼──────────────────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-w7rc-rwvf-8q5r │
└─────────────────────┴──────────────────────────────────────────────────────────────────────────┘
cross-fetch v3.1.5
also seems to use node-fetch ^2.6.7
if that's any easier to use
also this issue is very critical for everyone that run background requests in service workers
https://github.com/lquixada/cross-fetch/issues/78