CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NHigh (7.5) in webpack.js webpack-dev-middleware. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in webpack-dev-middleware 5.3.4, 6.1.2, 7.1.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nwebpack-dev-middleware (npm): fixed in 7.1.0, 6.1.2, 5.3.4Explain CVE-2024-29180 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-29180?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-29180?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-29180 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| webpack.js:webpack-dev-middleware | before 5.3.4 |
| webpack.js:webpack-dev-middleware | from 6.0.0 before 6.1.2 |
| webpack.js:webpack-dev-middleware | from 7.0.0 before 7.1.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-wr3j-pwj9-hqq6 | npm | webpack-dev-middleware | >=7.0.0 <7.1.0 | 7.1.0 |
| GHSA-wr3j-pwj9-hqq6 | npm | webpack-dev-middleware | >=6.0.0 <6.1.2 | 6.1.2 |
| GHSA-wr3j-pwj9-hqq6 | npm | webpack-dev-middleware | <5.3.4 | 5.3.4 |
Red Hat rates this Important.
The vulnerability in webpack-dev represents a important security issue due to its potential to expose sensitive files and compromise developer machines. By failing to validate URLs and normalize paths effectively, the middleware allows attackers to craft malicious requests that can retrieve arbitrary local files or perform unauthorized path traversal. This could lead to unauthorized access to confidential information, including source code, configuration files, and even system-level files. Given the widespread use of webpack-dev-middleware in web development environments, addressing this vulnerability promptly is important to prevent serious data breaches and protect the integrity of development processes.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Migration Toolkit for Runtimes 1 on RHEL 8 | webpack-dev-middleware | Fixed 2024-06-13 | RHSA-2024:3920 |
| MTA-6.2-RHEL-9 | mta/mta-ui-rhel9:6.2.3-2 | Fixed 2024-06-20 | RHSA-2024:3989 |
| MTA-6.2-RHEL-9 | mta/mta-windup-addon-rhel9:6.2.3-2 | Fixed 2024-06-20 | RHSA-2024:3989 |
| MTA-7.0-RHEL-9 | mta/mta-cli-rhel9:7.0.3-16 | Fixed 2024-05-23 | RHSA-2024:3316 |
| MTA-7.0-RHEL-9 | mta/mta-ui-rhel9:7.0.3-13 | Fixed 2024-05-23 | RHSA-2024:3316 |
| NETWORK-OBSERVABILITY-1.6.0-RHEL-9 | network-observability/network-observability-cli-rhel9:v1.6.0-66 | Fixed 2024-06-17 | RHSA-2024:3868 |
| NETWORK-OBSERVABILITY-1.6.0-RHEL-9 | network-observability/network-observability-console-plugin-rhel9:v1.6.0-66 | Fixed 2024-06-17 | RHSA-2024:3868 |
| NETWORK-OBSERVABILITY-1.6.0-RHEL-9 | network-observability/network-observability-ebpf-agent-rhel9:v1.6.0-66 | Fixed 2024-06-17 | RHSA-2024:3868 |
| NETWORK-OBSERVABILITY-1.6.0-RHEL-9 | network-observability/network-observability-flowlogs-pipeline-rhel9:v1.6.0-66 | Fixed 2024-06-17 | RHSA-2024:3868 |
| NETWORK-OBSERVABILITY-1.6.0-RHEL-9 | network-observability/network-observability-operator-bundle:1.6.0-78 | Fixed 2024-06-17 | RHSA-2024:3868 |
| Cryostat 2 | webpack-dev-middleware | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/kibana6-rhel8 | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-view-plugin-rhel8 | Not affected | |
| Migration Toolkit for Applications 6 | webpack-dev-middleware | Not affected | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-console-plugin-rhel9 | Affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/console-mce-rhel9 | Not affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/multicluster-engine-console-mce-rhel9 | Not affected | |
| Node HealthCheck Operator | workload-availability/node-remediation-console-rhel8 | Will not fix | |
| OpenShift Serverless | webpack-dev-middleware | Affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-rhel8 | Not affected | |
| 105 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-29180.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.