webpack-dev-server vulnerability
Bug Report or Feature Request (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request
Command (mark with an x)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
- [X] dependencies
Versions
node: 10.14.2 npm: 6.4.1
Angular CLI: 7.1.4
Node: 10.14.2
OS: win32 x64
Angular: 7.1.4
@angular-devkit/architect 0.10.7
@angular-devkit/build-angular 0.11.4
@angular-devkit/build-optimizer 0.11.4
@angular-devkit/build-webpack 0.10.7
@angular-devkit/core 7.0.7
@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.19.1
--
Repro steps
npm install
The log given by the failure
=== 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
found 1 high severity vulnerability in 78596 scanned packages
1 vulnerability requires manual review. See the full report for details.
--
we are getting emails from GitHub to fix vulnerabilities in our angular repos this is very annoying and cause waste of time for every angular developer because there is no solution yet from what i read i understand it has low freq (as standalone attack) but nowadays its rarely for cyber attack to use just one vulnerability, but usually its a sophisticated attack using multiple vulnerabilities so you had better better fix it asap
Hey everyone, in the tomorrow's release we'll publish this fix. The update will be available in 7.1.5.
You can follow the releases page (preferably) for updates or twitter.
Closed via https://github.com/angular/angular-cli/commit/aeff0fb07d2fb229dbe442bb9a651698a0ad3bf0
FYI, Angular CLI LTS release already introduced this security fix https://github.com/angular/angular-cli/releases/tag/v6.2.9.
FYI, Angular CLI LTS release already introduced this security fix https://github.com/angular/angular-cli/releases/tag/v6.2.9.
from https://angular.io/guide/releases
6 months of active support, during which regularly-scheduled updates and patches are released.
12 months of long-term support (LTS), during which only critical fixes and security patches are released.
so from what i understand the active should have more updates and patches than the LTS (because they will fix a bug even if its not critical), but all will have security patches
there is nothing saying if you want the most secure angular project don't go with the active and stay with LTS
it seems that the issue is still in the 7.2.0 release?
@alan-agius4 @filipesilva this fix is not included in the 7.2.0
@Teamop, @alan-agius4 , @filipesilva
Edited to confirm that this was not included in the release.
why is this issue still in 7.2.0?
@ChristopherKiss That compare shows the changes between v7.2.0 and master right? If I am not mistaken this means changes in master after the v7.2.0 tag. It seems like it was not included to v7.2.0.
@kelsos,
My apologies, you are correct, I misread the link on the releases page.
It was not included in 7.2.
Hi all, we're looking at why this wasn't included in the 7.2 release and will probably do a new release with it later today.
Not fixed in 7.2.x. 😥
+1
Thank you @filipesilva
@angular/[email protected] and @angular-devkit/[email protected] are now released. Using these versions should remove the audit failure.
@michaelsanford you can simply run npm audit fix after ng update
athlon_ua @ ~/GitHub/project - [master] $ npm audit fix
+ @angular-devkit/[email protected]
added 13 packages from 43 contributors, removed 1 package and updated 20 packages in 26.558s
fixed 1 of 1 vulnerability in 42333 scanned packages
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.