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.0 via the resourcePath variable in interpolateName.js.

Published: 2022-10-11 Last update: 2025-11-04 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-37599 is rated Moderate Risk (61.3/100): CVSS High severity, with medium exploitation likelihood (EPSS 4.21%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-37599

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-06 4.00% 4.21% +0.21%
2 2026-03-16 3.20% 4.00% +0.80%
3 2026-02-10 3.20%

Full EPSS history (33 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-37599

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2022-37599

GitHub Security Advisory for CVE-2022-37599

GHSA-hhq3-ff78-jv3g · Severity: high · Ecosystem: npm — loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS)

OS Trackers for CVE-2022-37599

vendor priority summary link
debian not yet assigned CVE-2022-37599 not yet assigned priority: Debian including 1 source packages (node-loader-utils), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-37599
redhat medium https://access.redhat.com/security/cve/CVE-2022-37599
ubuntu medium CVE-2022-37599 medium priority: Ubuntu including 1 source packages (node-loader-utils), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 7, needs-triage 6. https://ubuntu.com/security/CVE-2022-37599

Affected software / configurations for CVE-2022-37599

Vendor Product Version Raw CPE
webpack.js loader-utils >= 1.0.0, < 1.4.2 cpe:2.3:a:webpack.js:loader-utils:*:*:*:*:*:*:*:*
webpack.js loader-utils >= 2.0.0, < 2.0.4 cpe:2.3:a:webpack.js:loader-utils:*:*:*:*:*:*:*:*
webpack.js loader-utils >= 3.0.0, < 3.2.1 cpe:2.3:a:webpack.js:loader-utils:*:*:*:*:*:*:*:*

References for CVE-2022-37599

URL Tags
https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L38 Third Party Advisory
https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L83 Third Party Advisory
https://github.com/webpack/loader-utils/issues/211 Issue Tracking Third Party Advisory
https://github.com/webpack/loader-utils/issues/216 Issue Tracking Patch Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/
https://lists.fedoraproject.org/archives/list/[email protected]/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/
cvelogic Threat Intelligence