You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
loader-utils is vulnerable. Will install @angular-devkit/build-angular@12.2.18 #24241
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
npm audit
npm audit report
loader-utils 3.0.0 - 3.2.0
Severity: high
loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) via url variable - GHSA-3rfm-jhwj-7488
loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) - GHSA-hhq3-ff78-jv3g
fix available via npm audit fix --force
Will install @angular-devkit/build-angular@12.2.18, which is a breaking change
node_modules/loader-utils
@angular-devkit/build-angular 13.0.0-next.0 - 15.0.0-rc.3
Depends on vulnerable versions of loader-utils
node_modules/@angular-devkit/build-angular
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in (run ng version)
No response
Anything else?
No response
Reacted by Gonzalo , Xavier D, Ace Olszowka and StephenKMorgan
We do not expect that the Angular CLI is used on production where this vulnerability can be exploited. That said, we will update loader-utils in version 13.3 and 14.2 of the Angular CLI.
I'm having the issue while working with angular-13
npm audit output:
# npm audit report
loader-utils 2.0.0 - 2.0.3 || 3.0.0 - 3.2.0
Severity: high
loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) via url variable - https://github.com/advisories/GHSA-3rfm-jhwj-7488
loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) via url variable - https://github.com/advisories/GHSA-3rfm-jhwj-7488
loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) - https://github.com/advisories/GHSA-hhq3-ff78-jv3g
loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) - https://github.com/advisories/GHSA-hhq3-ff78-jv3g
fix available via `npm audit fix --force`
Will install @angular-devkit/build-angular@12.2.18, which is a breaking change
node_modules/@angular-devkit/build-angular/node_modules/loader-utils
node_modules/loader-utils
@angular-devkit/build-angular 13.0.0-next.0 - 15.0.0-rc.3
Depends on vulnerable versions of loader-utils
node_modules/@angular-devkit/build-angular
We do not expect that the Angular CLI is used on production where this vulnerability can be exploited. That said, we will update loader-utils in version 13.3 and 14.2 of the Angular CLI.
We are already on Angular version 14.2.9 and I have this in "devDependencies" { "@angular-devkit/build-angular": "^14.2.9" }
This warning was not in "@angular-devkit/build-angular": "^14.2.7".
This vulnerability issue is due to "loader-utils" dependency of "@angular-devkit/build-angular". May be in latest version "loader-utils".
Reacted by Gonzalo , Ace Olszowka and Join This Band
@alan-agius4
Is your last change has published? I can see only version 15 of "@angular-devkit/build-angular" published 9 hours ago. but no fix on 14.2.9 version of "@angular-devkit/build-angular". I think, new update should be there with fix in version 14.2.x
Activity
fix(@angular-devkit/build-angular): update `loader-utils` to `3.2.1`
alan-agius4 commentedon Nov 16, 2022
We do not expect that the Angular CLI is used on production where this vulnerability can be exploited. That said, we will update loader-utils in version 13.3 and 14.2 of the Angular CLI.
Please be aware that Angular version 12 is no longer under support. See https://angular.io/guide/releases#actively-supported-versions
fix(@angular-devkit/build-angular): update `loader-utils` to `3.2.1`
gon250 commentedon Nov 16, 2022
I'm having the issue while working with angular-13
npm auditoutput:package.json details:
pawan-gwebs commentedon Nov 16, 2022
We are already on Angular version 14.2.9 and I have this in "devDependencies" { "@angular-devkit/build-angular": "^14.2.9" }
This warning was not in "@angular-devkit/build-angular": "^14.2.7".
This vulnerability issue is due to "loader-utils" dependency of "@angular-devkit/build-angular". May be in latest version "loader-utils".
fix(@angular-devkit/build-angular): update `loader-utils` to `3.2.1`
fix(@angular-devkit/build-angular): update `loader-utils` to `3.2.1`
fix(@angular-devkit/build-angular): update `loader-utils` to `3.2.1`
alan-agius4 commentedon Nov 16, 2022
Closed via #24243
pawan-gwebs commentedon Nov 17, 2022
@alan-agius4
Is your last change has published? I can see only version 15 of "@angular-devkit/build-angular" published 9 hours ago. but no fix on 14.2.9 version of "@angular-devkit/build-angular". I think, new update should be there with fix in version 14.2.x
alan-agius4 commentedon Nov 17, 2022
@pawan-gwebs, it has not been released yet. Likely it will be released later on during the day today..
pawan-gwebs commentedon Nov 17, 2022
@alan-agius4 Thank you! for the quick update.
gon250 commentedon Nov 17, 2022
will this change be included in the version
13.x?? in case it will not be applayed I can create a PR pointing to the right place. thanks @alan-agius4alan-agius4 commentedon Nov 17, 2022
@gon250, yes it will. (#24242)
angular-automatic-lock-bot commentedon Dec 18, 2022
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.