Akryum / Akryum/vue-cli-plugin-apollo

Moderate vulnerability: Regular Expression Denial of Service

Open
#605 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
477
Forks
109
PR merge metrics
No merged PRs in 30d

Description

How to reproduce:
`npm audit`

```
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ Regular Expression Denial of Service │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=5.2.3 <6.0.0 || >=6.2.2 <7.0.0 || >=7.4.6 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ vue-cli-plugin-apollo │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ vue-cli-plugin-apollo > graphql-tools > │
│ │ @graphql-tools/url-loader > ws │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1748 │
└───────────────┴──────────────────────────────────────────────────────────────┘
```

Fix: upgrade `ws` to version 5.2.3 or 6.2.2 or 7.4.6 or later by `npm install graphql-tools@8.2.0`

Vulnerability reference: https://www.npmjs.com/advisories/1748

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.