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

npm audit found 1 high severity vulnerability in @angular-devkit/build-angular > webpack-dev-server #27882

Closed
robertisaacBBN opened this issue Jan 1, 2019 · 5 comments

Comments

@robertisaacBBN
Copy link

🐞 bug report

Affected Package

The issue is caused by package @angular-devkit/build-angular

Is this a regression?

no

Description

A clear and concise description of the problem...
                       === npm audit security report ===                        
                                                                                
                                                                                
                                 Manual Review                                  
             Some vulnerabilities require your attention to resolve             
                                                                                
          Visit https://go.npm.me/audit-guide for additional guidance           
                                                                                
                                                                                
  High            Missing Origin Validation                                     
                                                                                
  Package         webpack-dev-server                                            
                                                                                
  Patched in      >=3.1.11                                                      
                                                                                
  Dependency of   @angular-devkit/build-angular [dev]                           
                                                                                
  Path            @angular-devkit/build-angular > webpack-dev-server            
                                                                                
  More info       https://nodesecurity.io/advisories/725

🔬 Minimal Reproduction

ng new test-audit
npm audit

🌍 Your Environment

Angular Version:


Angular CLI: 7.1.4
Node: 10.14.1
OS: win32 x64
Angular: 7.1.4
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.11.4
@angular-devkit/build-angular     0.11.4
@angular-devkit/build-optimizer   0.11.4
@angular-devkit/build-webpack     0.11.4
@angular-devkit/core              7.1.4
@angular-devkit/schematics        7.1.4
@ngtools/webpack                  7.1.4
@schematics/angular               7.1.4
@schematics/update                0.11.4
rxjs                              6.3.3
typescript                        3.1.6
webpack                           4.23.1
@ericmartinezr
Copy link
Contributor

ericmartinezr commented Jan 1, 2019

Follow this issue webpack/webpack-dev-server#1615

Edit:

This was already reported in angular-cli's repo angular/angular-cli#13342 and there's a PR with the possible solution angular/angular-cli#13347

@robertisaacBBN robertisaacBBN changed the title npm audit found 1 high severity vulnerability npm audit found 1 high severity vulnerability in @angular-devkit/build-angular > webpack-dev-server Jan 2, 2019
@kwhjvdkamp
Copy link

kwhjvdkamp commented Jan 2, 2019

...try 'npm rebuild' mentioned as option in the output... ! Had exactly the same audit output getting a tutorial up & running from Angular University - Security which needs Argon2. Ran in a lot of trouble: installing argon2: argon2@0.20.0 install: node-gyp rebuild, reverting to a previous version of argon2@0.19.3, fix Missing Origin Validation error for “webpack-dev-server”, node update to current version 11.6 (CTS not LTS) 7 & installing Python2, etc. etc... finally tried to stick to logic thinking... reading the almost scrambled output...somewhere my eye catched 'npm rebuild'...

@kara
Copy link
Contributor

kara commented Jan 4, 2019

Closing, as this issue is already represented in angular-cli

@kara kara closed this as completed Jan 4, 2019
@simanjuntak123
Copy link

Any one know how to make coloud database ?

@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 Sep 15, 2019
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

5 participants