Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. loader-utils
  4. ›
  5. CVE-2022-37603

CVE-2022-37603: Inefficient Regular Expression Complexity

October 14, 2022 (updated November 7, 2023)

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 url variable in interpolateName.js.

References

  • github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js
  • github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js
  • github.com/webpack/loader-utils/issues/213
  • nvd.nist.gov/vuln/detail/CVE-2022-37603

Code Behaviors & Features

Detect and mitigate CVE-2022-37603 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.4.2, all versions starting from 2.0.0 before 2.0.4, all versions starting from 3.0.0 before 3.2.1

Fixed versions

  • 1.4.2
  • 2.0.4
  • 3.2.1

Solution

Upgrade to versions 1.4.2, 2.0.4, 3.2.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/loader-utils/CVE-2022-37603.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:25 +0000.