CVE-2022-37599 json
loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS)
published 4y ago modified 4mo ago also GHSA-hhq3-ff78-jv3g , EUVD-2022-7107
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm loader-utils 1.4.2, 2.0.4, 3.2.1
- webpack.js loader-utils 1.4.2, 2.0.4, 3.2.1
- node-loader-utils Debian 14, Debian 13, Debian 12 2.0.4-1
debian advisories DEBIAN-CVE-2022-37599
Is CVE-2022-37599 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-37599 updated cvss 7.5
loader-utils: regular expression denial of service in interpolateName.js
-
Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-ui-rhel8affected: workaround, no fix available
-
Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8 Red Hat OpenShift Service Mesh 2.1 servicemesh-grafana, servicemesh-prometheus, openshift-service-mesh/kiali-rhel8 Red Hat Ansible Automation Platform 2 aap-azure-uiaffected: workaround, no fix planned “Will not fix”
-
Red Hat build of Apicurio Registry 2 loader-utilsaffected: workaround, no fix available
-
Red Hat Certification for Red Hat Enterprise Linux 7 redhat-certificationaffected: workaround, no fix available “Fix deferred”
-
Red Hat Discovery 1 discovery-server-containeraffected: workaround, no fix available
-
Red Hat Enterprise Linux 6 firefox Red Hat Enterprise Linux 7 firefoxaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 pcs, grafana, pcs-snmp, 389-ds-base, grafana-loki, grafana-mssql, +16 more Red Hat Enterprise Linux 9 pcs, grafana, pcs-snmp, grafana-selinux Red Hat Fuse 7 loader-utils Red Hat Integration Camel K 1 loader-utilsaffected: workaround, no fix planned “Will not fix”
-
Red Hat JBoss Enterprise Application Platform 6 loader-utilsaffected: workaround, no fix available “Fix deferred”
show 11 moreshow fewer
-
Red Hat JBoss Enterprise Application Platform Expansion Pack loader-utilsaffected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 3.11 openshift3/ose-consoleaffected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-console Red Hat Openshift Data Foundation 4 odf4/odf-console-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Data Science (RHODS) rhods/odh-dashboard-rhel8affected: workaround, no fix available
-
Red Hat OpenShift Dev Spaces devspaces/traefik-rhel8, devspaces-theia-rhel8-containeraffected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift distributed tracing 2 rhosdt/jaeger-agent-rhel8affected: workaround, no fix available
-
Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argo-rollouts-rhel8, openshift-gitops-1/console-plugin-rhel8affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift Virtualization 4 container-native-virtualization/kubevirt-console-pluginaffected: workaround, no fix available
-
Red Hat Quay 3 quay/quay-rhel8 Red Hat Single Sign-On 7 loader-utilsaffected: workaround, no fix planned “Will not fix”
-
Red Hat RHPAM 7.13.4 asyncfixed: vendor fix RHSA-2023:4983
-
Red Hat Cryostat 2 loader-utils Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8, openshift-logging/logging-view-plugin-rhel9 Red Hat Migration Toolkit for Applications 6 mta/mta-ui-rhel8 Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-ui-rhel8 Red Hat Network Observability Operator network-observability/network-observability-console-plugin-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8not affected: vulnerable code not present
+8 more productsfewer
Red Hat A-MQ Online loader-utils Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel8, acm-cluster-templates-console-plugin-container Red Hat build of OptaPlanner 8 loader-utils Red Hat Data Grid 8 loader-utils Red Hat Enterprise Linux 8 mozjs60, cockpit-podman Red Hat Enterprise Linux 9 gjs, polkit, polkit-libs Red Hat JBoss Enterprise Application Platform 7 loader-utils Red Hat OpenShift Container Platform 4 openshift4/ose-monitoring-plugin-rhel9
1 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.76% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | loader-utils | >=1.0.0, <1.4.2 >=2.0.0, <2.0.4 >=3.0.0, <3.2.1 |
1.4.2 2.0.4 3.2.1 |
Classification
References
-
github.com
/webpack/loader-utils/issues/216
web, issue-tracking, patch, third-party-advisory
-
github.com
/webpack/loader-utils/commit/17cbf8fa8989c1cb45bdd2997aa524729475f1fa
web
-
github.com
/webpack/loader-utils/commit/ac09944dfacd7c4497ef692894b09e63e09a5eeb
web
-
github.com
/webpack/loader-utils/commit/d2d752d59629daee38f34b24307221349c490eb1
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2/
vendor-advisory
-
github.com
/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L38
web, third-party-advisory
-
github.com
/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L83
web, third-party-advisory
-
github.com
/webpack/loader-utils/issues/211
web, issue-tracking, third-party-advisory
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/
-
nvd.nist.gov
/vuln/detail/CVE-2022-37599
advisory
-
github.com
/webpack/loader-utils
package
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ
web
Sources
- CVE List CVE-2022-37599
- GitHub Advisory GHSA-hhq3-ff78-jv3g
- NVD CVE-2022-37599
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.