Skip to content

Potential vulnerability introduced in @vue/cli-service #6621

@vincentsum777

Description

@vincentsum777

Hi, @sodatea @fangbinwei,

Issue Description

I noticed that a vulnerability is introduced in @vue/[email protected]:
Vulnerability SNYK-JS-EJS-1049328 affects package ejs (versions:<3.1.6): https://snyk.io/vuln/SNYK-JS-EJS-1049328
The above vulnerable package is referenced by @vue/[email protected] via:
@vue/[email protected][email protected][email protected]

Since @vue/[email protected] (317,225 downloads per week) is referenced by 145 downstream projects (e.g.,@iez/core 3.0.6 (latest version), @ditojs/server 0.259.0 (latest version), radiate-framework 4.4.1 (latest version), @quasiris/qsc-data-table 1.3.3 (latest version)), the vulnerability https://snyk.io/vuln/SNYK-JS-EJS-1049328 can be propagated into these downstream projects and expose security threats to them via the following package dependency paths:
(1)@quasiris/[email protected] ➔ @vue/[email protected] ➔ @vue/[email protected][email protected][email protected]
......

If @vue/[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 @vue/[email protected] ?

Fixing suggestions

In @vue/[email protected], you can kindly perform the following upgrade :
webpack-bundle-analyzer ^3.8.0 ➔ ^4.0.0;

Note:
[email protected](>=4.0.0) directly depends on [email protected] which has fixed the vulnerability (https://snyk.io/vuln/SNYK-JS-EJS-1049328)
Of course, you are welcome to share other ways to resolve the issue.

Thank you for your attention to this issue.

Best regards,
Vincentsum ^_^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions