-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
@nrwl/webpack depends on loader-utils 1.2.3 which has known vulnerabilities #12733
Comments
My client's Whitesource scan has brought me here 🙂 would love to consume the fix and validate! |
The vulnerabilities have been fixedin @METACEO To temporarily fix your clients pipeline scan, you could enforce the fixed version, by adding this to
But make sure to properly test the application afterwards. |
the I managed to get my but then I cannot run I wasted my morning looking into this :/ and I'm running out of ideas. adding Edit1: wording and sources. |
ok, I got this working. for context, I have a project with
what I did was: following this guide here (also linked in my previous comment)
If you are in the same boat, make sure to follow the guide I linked. You need to add a preinstall script for this to work: Afterwards, I was able to serve my app without any issues, verify the correct version of loader-utils is being used in the dependency tree running |
there is a merged PR here that is bumping the loader-utils version for nx to the recommended one. |
I'm going to close this out since it has been fixed. The fix is included in v15.1.0. @naticaceres Nx major version !== Angular major version, although they do tend to line up generally. You should be free to update to v15 of Nx, there weren't many breaking changes and none that were major that I remember. https://nx.dev/angular-nx-version-matrix |
this is interesting, thank you for your prompt answer @AgentEnder I tried using nx@15.1.0 in my project and sadly it introduces a high number of breaking changes. The removal of sadly for me (and for the rest of us using nx14 or previous versions) this is not providing a valid official solution. if you have other ideas or if I can help I'd love to try. |
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context. |
Both version 1 and 2 of loader-utils have known vulnerabilities.
https://nvd.nist.gov/vuln/detail/CVE-2022-37601
https://nvd.nist.gov/vuln/detail/CVE-2022-37603
Version 3 of loader-utils should be used instead.
The text was updated successfully, but these errors were encountered: