Skip to content
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

Failing security checks because of CVE-2021-27290 #69

Closed
undergroundwires opened this issue Apr 15, 2021 · 2 comments
Closed

Failing security checks because of CVE-2021-27290 #69

undergroundwires opened this issue Apr 15, 2021 · 2 comments

Comments

@undergroundwires
Copy link
Owner

undergroundwires commented Apr 15, 2021

❗️ Note: This is not affecting any of the privacy.sexy users, it is a DoS vulnerability (see CVE) in developer dependency vue-cli v4.

We cannot monkey patch this so we should wait for the new releases for the dependencies.

Vue CLI depends on vulnerable zkat/ssri versions through:

  1. Direct dependency to ssri
  2. webpack 4 dependency through webpack-contrib/terser-webpack-plugin
  3. zkat/cacache dependency

There's an open issue on vuejs/vue-cli#6424 that has not been addressed yet.

Vulnerability has made it npm audit database.

Security checks pipeline is failing since yesterday because of npm audit mentioning this, see related GitHub actions run

see npm audit report
# npm audit report

ssri  5.2.2 - 6.0.1 || 7.0.0 - 8.0.0
Severity: moderate
Regular Expression Denial of Service - https://npmjs.com/advisories/565
fix available via `npm audit fix --force`
Will install @vue/cli-service@4.1.1, which is a breaking change
node_modules/@vue/cli-service/node_modules/ssri
node_modules/ssri
  @vue/cli-service  4.0.0-alpha.0 - 4.5.12
  Depends on vulnerable versions of ssri
  Depends on vulnerable versions of terser-webpack-plugin
  node_modules/@vue/cli-service
  cacache  10.0.4 - 11.0.0 || 13.0.0 - 14.0.0
  Depends on vulnerable versions of ssri
  node_modules/@vue/cli-service/node_modules/cacache
    terser-webpack-plugin  2.1.1 - 2.3.8
    Depends on vulnerable versions of cacache
    node_modules/@vue/cli-service/node_modules/terser-webpack-plugin

4 moderate severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force
@G-Rath
Copy link

G-Rath commented Apr 18, 2021

there's an open PR for backporting to 8.0.1 (npm/ssri#20)

this is backporting from 8.0.1, into v7 :)

@undergroundwires
Copy link
Owner Author

Oops 😀 Thanks for the info (edited the story) and the PR, hope it gets merged soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants