Current release of @vue/cli-service is affected by CVE-2021-27290 Regular Expression Denial of Service in ssri
See original GitHub issueVersion
4.5.12
Environment info
Environment Info:
System:
OS: Linux 5.11 Arch Linux
CPU: (8) x64 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
Binaries:
Node: Not Found
Yarn: 1.22.10 - /tmp/yarn--1618510365267-0.6910111220689819/yarn
npm: 7.8.0 - /usr/bin/npm
Browsers:
Chrome: Not Found
Firefox: 87.0
npmPackages:
@vue/babel-helper-vue-jsx-merge-props: 1.2.1
@vue/babel-plugin-transform-vue-jsx: 1.2.1
@vue/babel-preset-app: 3.12.1
@vue/babel-preset-jsx: 1.2.4
@vue/babel-sugar-composition-api-inject-h: 1.2.1
@vue/babel-sugar-composition-api-render-instance: 1.2.4
@vue/babel-sugar-functional-vue: 1.2.2
@vue/babel-sugar-inject-h: 1.2.2
@vue/babel-sugar-v-model: 1.2.3
@vue/babel-sugar-v-on: 1.2.3
@vue/cli: ^4.5.4 => 4.5.11
@vue/cli-overlay: 4.5.12
@vue/cli-plugin-babel: ^3.5.0 => 3.12.1
@vue/cli-plugin-eslint: ^3.5.0 => 3.12.1
@vue/cli-plugin-router: 4.5.12
@vue/cli-plugin-vuex: 4.5.12
@vue/cli-service: ^4.5.4 => 4.5.12
@vue/cli-shared-utils: 4.5.11 (3.12.1, 4.5.12)
@vue/cli-ui: 4.5.11
@vue/cli-ui-addon-webpack: 4.5.11
@vue/cli-ui-addon-widgets: 4.5.11
@vue/compiler-core: 3.0.7
@vue/compiler-dom: 3.0.7
@vue/compiler-sfc: undefined (3.0.7)
@vue/compiler-ssr: 3.0.7
@vue/component-compiler-utils: 3.2.0
@vue/preload-webpack-plugin: 1.1.2
@vue/reactivity: 3.0.7
@vue/runtime-core: 3.0.7
@vue/runtime-dom: 3.0.7
@vue/shared: 3.0.7
@vue/web-component-wrapper: 1.3.0
eslint-plugin-vue: ^5.0.0 => 5.2.3 (4.7.1)
typescript: 3.9.9
vue: ^2.6.10 => 2.6.12 (3.0.7)
vue-cli-plugin-apollo: 0.21.3
vue-cli-plugin-vuetify: latest => 2.0.7
vue-cli-plugin-vuetify-essentials: latest => 0.8.3
vue-codemod: 0.0.4
vue-eslint-parser: 5.0.0 (2.0.3)
vue-hot-reload-api: 2.3.4
vue-loader: 15.9.6 (16.2.0)
vue-style-loader: 4.1.3
vue-template-compiler: 2.6.12 => 2.6.12
vue-template-es2015-compiler: 1.9.1
vuetify: ^2.1.11 => 2.3.14
vuetify-loader: ~>1.4.2 => 1.4.4
npmGlobalPackages:
@vue/cli: Not Found
Steps to reproduce
- Require the latest stable version of the @vue/cli-service package in any app.
- Run yarn audit.
What is expected?
The latest version of the software does not report any vulnerabilities.
What is actually happening?
The latest version of the software has two vulnerabilities from ssri, one from a direct dependency on the package.
My pipeline broke today once this vulnerability finally made it into the audit database.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:32
- Comments:10 (1 by maintainers)
Top Results From Across the Web
Regular Expression Denial of Service (ReDoS) in ssri | Snyk
Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). ssri processes SRIs using a regular expression ...
Read more >CVE-2021-27290 | ssri Regular Expression denial of service - VulDB
A vulnerability was found in ssri up to 8.0.0 and classified as problematic. This issue affects an unknown code block of the component...
Read more >How do you properly deal with Vue vulnerabilities when using ...
So I tried creating a Vue 2 project and it works fine, the only issue is that there are 20 vulnerabilities, where as...
Read more >Vue Cli Regular Expression Denial of Service postcss
so why is my vue cli creating projects with the effected postcss@7.3.5? How can I get vue cli to use the patched version?...
Read more >CVE-2021-27290 - ssri 5.2.2-8.0.0, fixed in 8.0.1, processes ...
CVE-2021-27290 ... using a regular expression which is vulnerable to a denial of service. ... This issue only affects consumers using the strict...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The
ssri
issue is fixed in v4.5.13My pipeline has been failing since yesterday and I tried with both
4.5.11
and4.5.12
and both fails. I reproduced it on privacy.sexy withnpm install
and thennpm audit
after cloning.here's the npm audit report
It seems to be caused by dependencies to
ssri
directly and throughwebpack-contrib/terser-webpack-plugin
andcacache
.FYI
ssri
has backported the fix to6.0.2