question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

loader-utils is vulnerable. Will install @angular-devkit/build-angular@12.2.18

See original GitHub issue

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 - 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 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

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Reactions:4
  • Comments:10

github_iconTop GitHub Comments

3reactions
alan-agius4commented, Nov 17, 2022

@pawan-gwebs, it has not been released yet. Likely it will be released later on during the day today…

3reactions
pawan-gwebscommented, 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

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”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Security Vulnerabilities issue #216 - webpack/loader-utils
i see webpack have no plan to update loader-utils version. they still use v2. i tried to force use v3 by resolutions but...
Read more >
Prototype Pollution in loader-utils | CVE-2022-37601 | Snyk
Affected versions of this package are vulnerable to Prototype Pollution in parseQuery function via the name variable in parseQuery.js .
Read more >
Angular 14 & Prototype pollution in webpack loader-utils
I'm new to development with angular, and I get a critical error alert that I don't understand, from git on an angular project...
Read more >
Multiple vulnerabilities in webpack loader-utils
The vulnerability exists due to insufficient validation of user-supplied input passed via the resourcePath variable to interpolateName() ...
Read more >
loader-utils - npm
getOptions · If this.query is a string: Tries to parse the query string and returns a new object; Throws if it's not a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found