Skip to content

low severity npm audit vulnerability in devkit/build-angular due to webpack-dev-server > yargs depedency #17716

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

Closed
elezar42 opened this issue May 13, 2020 · 2 comments

Comments

@elezar42
Copy link

🐞 Bug report

Is this a regression?

No

Description

npm audit reports a low severity "Prototype Pollution" vulnerability in yargs-parser, which is a dependency of @angular-devkit/build-angular via webpack-dev-server. This has been fixed in webpack-dev-server 3.11.0, so the dependency just needs to be updated to that version.

🔥 Exception or Error


                       === npm audit security report ===


                                 Manual Review
             Some vulnerabilities require your attention to resolve

          Visit https://go.npm.me/audit-guide for additional guidance


  Low             Prototype Pollution

  Package         yargs-parser

  Patched in      >=13.1.2 <14.0.0 || >=15.0.1 <16.0.0 || >=18.1.2

  Dependency of   @angular-devkit/build-angular [dev]

  Path            @angular-devkit/build-angular > webpack-dev-server > yargs >
                  yargs-parser

  More info       https://npmjs.com/advisories/1500

🌍 Your Environment


Angular CLI: 8.3.26
Node: 12.13.0
OS: win32 x64
Angular: 8.2.14
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... platform-server, router

Package                                    Version
--------------------------------------------------------------------
@angular-devkit/architect                  0.803.26
@angular-devkit/build-angular              0.803.26
@angular-devkit/build-optimizer            0.803.26
@angular-devkit/build-webpack              0.803.26
@angular-devkit/core                       8.3.26
@angular-devkit/schematics                 8.3.26
@angular/cdk                               8.2.3
@angular/cli                               8.3.26
@angular/material                          8.2.3
@angular/material-moment-adapter           8.2.3
@ngtools/webpack                           8.3.26
@nguniversal/module-map-ngfactory-loader   v8.2.6
@schematics/angular                        8.3.26
@schematics/update                         0.803.26
rxjs                                       6.5.5
typescript                                 3.5.3
webpack                                    4.39.2
clydin added a commit to clydin/angular-cli that referenced this issue May 13, 2020
…dev-server

webpack-dev-server <3.11.0 contains a low severity vulnerability due to one of its dependencies (yargs-parser).  This change updates to 3.11.0 to remove the vulnerability.
https://npmjs.com/advisories/1500

Closes: angular#17716
@alan-agius4
Copy link
Collaborator

Duplicate of #17642

@alan-agius4 alan-agius4 marked this as a duplicate of #17642 May 13, 2020
filipesilva pushed a commit that referenced this issue May 15, 2020
…dev-server

webpack-dev-server <3.11.0 contains a low severity vulnerability due to one of its dependencies (yargs-parser).  This change updates to 3.11.0 to remove the vulnerability.
https://npmjs.com/advisories/1500

Closes: #17716
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jun 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants