webpack-dev-middleware Path Traversal vulnerability
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| webpack | webpack-dev-middleware | affected |
|
Configuration 1 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Migration Toolkit for Runtimes 1 on RHEL 8 | |||
| webpack-dev-middleware | cpe:/a:redhat:migration_toolkit_runtimes:1.0::el8 | RHSA-2024:3920 | 2024-06-13T00:00:00Z |
| MTA-6.2-RHEL-9 | |||
| mta/mta-ui-rhel9:6.2.3-2 | cpe:/a:redhat:migration_toolkit_applications:6.2::el9 | RHSA-2024:3989 | 2024-06-20T00:00:00Z |
| mta/mta-windup-addon-rhel9:6.2.3-2 | cpe:/a:redhat:migration_toolkit_applications:6.2::el9 | RHSA-2024:3989 | 2024-06-20T00:00:00Z |
| MTA-7.0-RHEL-9 | |||
| mta/mta-cli-rhel9:7.0.3-16 | cpe:/a:redhat:migration_toolkit_applications:7.0::el9 | RHSA-2024:3316 | 2024-05-23T00:00:00Z |
| mta/mta-ui-rhel9:7.0.3-13 | cpe:/a:redhat:migration_toolkit_applications:7.0::el9 | RHSA-2024:3316 | 2024-05-23T00:00:00Z |
| NETWORK-OBSERVABILITY-1.6.0-RHEL-9 | |||
| network-observability/network-observability-cli-rhel9:v1.6.0-66 | cpe:/a:redhat:network_observ_optr:1.6.0::el9 | RHSA-2024:3868 | 2024-06-17T00:00:00Z |
| network-observability/network-observability-console-plugin-rhel9:v1.6.0-66 | cpe:/a:redhat:network_observ_optr:1.6.0::el9 | RHSA-2024:3868 | 2024-06-17T00:00:00Z |
| network-observability/network-observability-ebpf-agent-rhel9:v1.6.0-66 | cpe:/a:redhat:network_observ_optr:1.6.0::el9 | RHSA-2024:3868 | 2024-06-17T00:00:00Z |
| network-observability/network-observability-flowlogs-pipeline-rhel9:v1.6.0-66 | cpe:/a:redhat:network_observ_optr:1.6.0::el9 | RHSA-2024:3868 | 2024-06-17T00:00:00Z |
| network-observability/network-observability-operator-bundle:1.6.0-78 | cpe:/a:redhat:network_observ_optr:1.6.0::el9 | RHSA-2024:3868 | 2024-06-17T00:00:00Z |
| network-observability/network-observability-rhel9-operator:v1.6.0-66 | cpe:/a:redhat:network_observ_optr:1.6.0::el9 | RHSA-2024:3868 | 2024-06-17T00:00:00Z |
| Red Hat Advanced Cluster Security 4.4 | |||
| advanced-cluster-security/rhacs-central-db-rhel8:4.4.2-4 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-collector-rhel8:4.4.2-4 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-collector-slim-rhel8:4.4.2-4 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-main-rhel8:4.4.2-6 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-operator-bundle:4.4.2-6 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-rhel8-operator:4.4.2-4 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-roxctl-rhel8:4.4.2-4 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-scanner-db-rhel8:4.4.2-4 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-scanner-db-slim-rhel8:4.4.2-4 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-scanner-rhel8:4.4.2-4 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-scanner-slim-rhel8:4.4.2-4 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-scanner-v4-db-rhel8:4.4.2-4 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| advanced-cluster-security/rhacs-scanner-v4-rhel8:4.4.2-6 | cpe:/a:redhat:advanced_cluster_security:4.4::el8 | RHSA-2024:2941 | 2024-05-21T00:00:00Z |
| Red Hat build of Apicurio Registry 2.6.1 GA | |||
| webpack-dev-middleware | cpe:/a:redhat:apicurio_registry:2.6 | RHSA-2024:4873 | 2024-07-25T00:00:00Z |
| Red Hat Data Grid | |||
| webpack-dev-middleware | cpe:/a:redhat:jboss_data_grid:8 | RHSA-2024:4460 | 2024-07-10T00:00:00Z |
| Red Hat Migration Toolkit for Containers 1.7 | |||
| rhmtc/openshift-migration-ui-rhel8:v1.7.16-6 | cpe:/a:redhat:rhmt:1.7::el8 | RHSA-2024:4520 | 2024-07-11T00:00:00Z |
| Red Hat Migration Toolkit for Containers 1.8 | |||
| rhmtc/openshift-migration-controller-rhel8:v1.8.4-22 | cpe:/a:redhat:rhmt:1.8::el8 | RHSA-2024:7164 | 2024-09-26T00:00:00Z |
| Red Hat OpenShift Container Platform 4.16 | |||
| openshift4/ose-monitoring-plugin-rhel9:v4.16.0-202406140306.p0.gf1fc431.assembly.stream.el9 | cpe:/a:redhat:openshift:4.16::el9 | RHSA-2024:0041 | 2024-06-27T00:00:00Z |
| Red Hat OpenShift GitOps 1.10 | |||
| openshift-gitops-1/argocd-rhel8:v1.10.5-6 | cpe:/a:redhat:openshift_gitops:1.10::el8 | RHSA-2024:2817 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/argo-rollouts-rhel8:v1.10.5-6 | cpe:/a:redhat:openshift_gitops:1.10::el8 | RHSA-2024:2817 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/console-plugin-rhel8:v1.10.5-6 | cpe:/a:redhat:openshift_gitops:1.10::el8 | RHSA-2024:2817 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/dex-rhel8:v1.10.5-6 | cpe:/a:redhat:openshift_gitops:1.10::el8 | RHSA-2024:2817 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/gitops-operator-bundle:v1.10.5-6 | cpe:/a:redhat:openshift_gitops:1.10::el8 | RHSA-2024:2817 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/gitops-rhel8:v1.10.5-6 | cpe:/a:redhat:openshift_gitops:1.10::el8 | RHSA-2024:2817 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/gitops-rhel8-operator:v1.10.5-6 | cpe:/a:redhat:openshift_gitops:1.10::el8 | RHSA-2024:2817 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/kam-delivery-rhel8:v1.10.5-6 | cpe:/a:redhat:openshift_gitops:1.10::el8 | RHSA-2024:2817 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/must-gather-rhel8:v1.10.5-6 | cpe:/a:redhat:openshift_gitops:1.10::el8 | RHSA-2024:2817 | 2024-05-10T00:00:00Z |
| Red Hat OpenShift GitOps 1.11 | |||
| openshift-gitops-1/argocd-rhel8:v1.11.4-7 | cpe:/a:redhat:openshift_gitops:1.11::el8 | RHSA-2024:2815 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/argo-rollouts-rhel8:v1.11.4-7 | cpe:/a:redhat:openshift_gitops:1.11::el8 | RHSA-2024:2815 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/console-plugin-rhel8:v1.11.4-7 | cpe:/a:redhat:openshift_gitops:1.11::el8 | RHSA-2024:2815 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/dex-rhel8:v1.11.4-7 | cpe:/a:redhat:openshift_gitops:1.11::el8 | RHSA-2024:2815 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/gitops-operator-bundle:v1.11.4-7 | cpe:/a:redhat:openshift_gitops:1.11::el8 | RHSA-2024:2815 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/gitops-rhel8:v1.11.4-7 | cpe:/a:redhat:openshift_gitops:1.11::el8 | RHSA-2024:2815 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/gitops-rhel8-operator:v1.11.4-7 | cpe:/a:redhat:openshift_gitops:1.11::el8 | RHSA-2024:2815 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/kam-delivery-rhel8:v1.11.4-7 | cpe:/a:redhat:openshift_gitops:1.11::el8 | RHSA-2024:2815 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/must-gather-rhel8:v1.11.4-7 | cpe:/a:redhat:openshift_gitops:1.11::el8 | RHSA-2024:2815 | 2024-05-10T00:00:00Z |
| Red Hat OpenShift GitOps 1.12 | |||
| openshift-gitops-1/argocd-rhel8:v1.12.2-1 | cpe:/a:redhat:openshift_gitops:1.12::el8 | RHSA-2024:2816 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/argo-rollouts-rhel8:v1.12.2-1 | cpe:/a:redhat:openshift_gitops:1.12::el8 | RHSA-2024:2816 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/console-plugin-rhel8:v1.12.2-1 | cpe:/a:redhat:openshift_gitops:1.12::el8 | RHSA-2024:2816 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/dex-rhel8:v1.12.2-1 | cpe:/a:redhat:openshift_gitops:1.12::el8 | RHSA-2024:2816 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/gitops-operator-bundle:v1.12.2-1 | cpe:/a:redhat:openshift_gitops:1.12::el8 | RHSA-2024:2816 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/gitops-rhel8:v1.12.2-1 | cpe:/a:redhat:openshift_gitops:1.12::el8 | RHSA-2024:2816 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/gitops-rhel8-operator:v1.12.2-1 | cpe:/a:redhat:openshift_gitops:1.12::el8 | RHSA-2024:2816 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/kam-delivery-rhel8:v1.12.2-1 | cpe:/a:redhat:openshift_gitops:1.12::el8 | RHSA-2024:2816 | 2024-05-10T00:00:00Z |
| openshift-gitops-1/must-gather-rhel8:v1.12.2-1 | cpe:/a:redhat:openshift_gitops:1.12::el8 | RHSA-2024:2816 | 2024-05-10T00:00:00Z |
| RHODF-4.14-RHEL-9 | |||
| odf4/odf-console-rhel9:v4.14.18-3 | cpe:/a:redhat:openshift_data_foundation:4.14::el9 | RHSA-2025:8551 | 2025-06-04T00:00:00Z |
| RHODF-4.15-RHEL-9 | |||
| odf4/odf-console-rhel9:v4.15.14-2 | cpe:/a:redhat:openshift_data_foundation:4.15::el9 | RHSA-2025:8544 | 2025-06-04T00:00:00Z |
| RHODF-4.16-RHEL-9 | |||
| odf4/odf-console-rhel9:v4.16.2-2 | cpe:/a:redhat:openshift_data_foundation:4.16::el9 | RHSA-2024:6755 | 2024-09-18T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-1028 | Prior to versions 7.1.0, 6.1.2, and 5.3.4, the webpack-dev-middleware development middleware for devpack does not validate the supplied URL address sufficiently before returning the local file. It is possible to access any file on the developer's machine. The middleware can either work with the physical filesystem when reading the files or it can use a virtualized in-memory `memfs` filesystem. If `writeToDisk` configuration option is set to `true`, the physical filesystem is used. The `getFilenameFromUrl` method is used to parse URL and build the local file path. The public path prefix is stripped from the URL, and the `unsecaped` path suffix is appended to the `outputPath`. As the URL is not unescaped and normalized automatically before calling the midlleware, it is possible to use `%2e` and `%2f` sequences to perform path traversal attack. Developers using `webpack-dev-server` or `webpack-dev-middleware` are affected by the issue. When the project is started, an attacker might access any file on the developer's machine and exfiltrate the content. If the development server is listening on a public IP address (or `0.0.0.0`), an attacker on the local network can access the local files without any interaction from the victim (direct connection to the port). If the server allows access from third-party domains, an attacker can send a malicious link to the victim. When visited, the client side script can connect to the local server and exfiltrate the local files. Starting with fixed versions 7.1.0, 6.1.2, and 5.3.4, the URL is unescaped and normalized before any further processing. |
Github GHSA |
GHSA-wr3j-pwj9-hqq6 | Path traversal in webpack-dev-middleware |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.2% (1.226% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Webpack.js
Webpack.js webpack-dev-middleware |
|
| CPEs | cpe:2.3:a:webpack.js:webpack-dev-middleware:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Webpack.js
Webpack.js webpack-dev-middleware |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:openshift_data_foundation:4.14::el9 cpe:/a:redhat:openshift_data_foundation:4.15::el9 |
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:/a:redhat:rhmt:1.8::el8 |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat openshift Data Foundation
|
|
| CPEs | cpe:/a:redhat:openshift_data_foundation:4.16::el9 | |
| Vendors & Products |
Redhat openshift Data Foundation
|