CyberRota Analysis
AI-GeneratedThe request-filtering-agent in versions prior to 3.2.1 is vulnerable to a flaw where it synchronously throws exceptions when rejecting connections to private IP addresses, leading to uncaught exceptions that can crash the application. This impacts applications relying on Node.js http.request and http.get, as the error handling mechanism is bypassed, resulting in potential service disruptions. Organizations using affected versions should prioritize upgrading to 3.2.1 to mitigate this high-severity vulnerability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
request-filtering-agent is an http(s).Agent implementation that blocks requests to Private/Reserved IP addresses. Prior to 3.2.1, RequestFilteringHttpAgent and RequestFilteringHttpsAgent synchronously threw from createConnection when rejecting a literal private-IP host such as 169.254.169.254 or 127.0.0.1. Because Node.js http.request and http.get expect connection failures to be delivered asynchronously, the throw bypassed req.on('error') and became an uncaught exception that could terminate the application process. Hostnames resolved through the asynchronous lookup path were not affected by this error-delivery asymmetry. This issue is fixed in version 3.2.1.