Red Hat VEX
RHVEX-CVE-2024-21536
http-proxy-middleware: http-proxy-middleware: Denial of Service via unhandled error during path matching
Details
A flaw was found in the http-proxy-middleware package. Affected versions of this package are vulnerable to denial of service (DoS) due to an UnhandledPromiseRejection error thrown by micromatch. This flaw allows an attacker to kill the Node.js process and crash the server by requesting certain paths.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:8 | grafana | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-azure-monitor | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-cloudwatch | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-elasticsearch | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-graphite | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-influxdb | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-loki | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-mssql | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-mysql | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-opentsdb | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-postgres | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-prometheus | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-selinux | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | grafana-stackdriver | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2024-21536
- https://bugzilla.redhat.com/show_bug.cgi?id=2319884
- https://www.cve.org/CVERecord?id=CVE-2024-21536
- https://nvd.nist.gov/vuln/detail/CVE-2024-21536
- https://gist.github.com/mhassan1/28be67266d82a53708ed59ce5dc3c94a
- https://github.com/chimurai/http-proxy-middleware/commit/0b4274e8cc9e9a2c5a06f35fbf456ccfcebc55a5
- https://github.com/chimurai/http-proxy-middleware/commit/788b21e4aff38332d6319557d4a5b1b13b1f9a22
- https://security.snyk.io/vuln/SNYK-JS-HTTPPROXYMIDDLEWARE-8229906