CVE-2022-37599
Webpack.js Loader-utils vulnerability
A Regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils 2.0.0 via the resourcePath variable in interpolateName.js.
Affected products
Loader-utils. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Webpack.js Loader-utils runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2022-37599
- github.com/webpack/loader-utils/issues/211
- github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpol
- github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpol
- github.com/webpack/loader-utils/issues/216
- github.com/webpack/loader-utils/commit/17cbf8fa8989c1cb45bdd2997aa524729475f1fa
- github.com/webpack/loader-utils/commit/ac09944dfacd7c4497ef692894b09e63e09a5eeb
- github.com/webpack/loader-utils/commit/d2d752d59629daee38f34b24307221349c490eb1
- nvd.nist.gov/vuln/detail/CVE-2022-37599
- cve.org/CVERecord?id=CVE-2022-37599
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.