Always-Incorrect Control Flow Implementation in http-proxy-middleware



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2025-32996
CWE-ID CWE-670
Exploitation vector Network
Public exploit N/A
Vulnerable software
http-proxy-middleware
Web applications / JS libraries

Vendor Steven Chim

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Always-Incorrect Control Flow Implementation

EUVDB-ID: #VU108925

Risk: Medium

CVSSv4.0: 1.7 [CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2025-32996

CWE-ID: CWE-670 - Always-Incorrect Control Flow Implementation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to writeBody can be called twice because "else if" is not used. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.

Mitigation

Install update from vendor's website.

Vulnerable software versions

http-proxy-middleware: 0.0.5 - 3.0.3

CPE2.3 External links

https://github.com/chimurai/http-proxy-middleware/commit/020976044d113fc0bcbbaf995e91d05e2829a145
https://github.com/chimurai/http-proxy-middleware/pull/1089
https://github.com/chimurai/http-proxy-middleware/releases/tag/v2.0.8
https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.4


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###