CVE-2025-32997
JavaScript vulnerability analysis and mitigation

Overview

A vulnerability was discovered in http-proxy-middleware affecting versions before 2.0.9 and 3.x before 3.0.5. The issue occurs when the fixRequestBody function proceeds with execution even when bodyParser has failed, potentially leading to unintended behavior (NVD, Red Hat).

Technical details

The vulnerability is classified as CWE-754 (Improper Check for Unusual or Exceptional Conditions). It has been assigned a CVSS v3.1 base score of 4.0 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N, indicating that it is network accessible, requires high attack complexity, needs no privileges, requires no user interaction, has changed scope, and can only impact integrity at a low level (NVD).

Impact

The vulnerability could lead to unintended behavior in applications using http-proxy-middleware when handling request bodies. The impact is primarily limited to the integrity of request processing, with no direct impact on confidentiality or availability (Red Hat).

Mitigation and workarounds

The vulnerability has been fixed in http-proxy-middleware versions 2.0.9 and 3.0.5. Users are advised to upgrade to these or later versions. The fix involves adding a check for req.readableLength to prevent proceeding with fixRequestBody when bodyParser has failed (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management