Impact
Uncontrolled Resource Consumption vulnerability in the Hackney HTTP client occurs when a SOCKS5 proxy performs an apparently normal handshake and then stalls the TLS upgrade. The implementation incorrectly forwards the caller-supplied timeout to the TLS connection, causing ssl:connect/2 to use an infinite timeout. A process that initiates the connection will therefore block indefinitely, consuming system resources and preventing it from serving other tasks. This can lead to degraded performance or complete service interruption if an attacker repeatedly opens connections.
Affected Systems
The bug affects the Hackney library maintained by benoitc. Versions from 0.10.0 up to but not including 4.0.1 are vulnerable. Upgrading to 4.0.1 or newer eliminates the flaw.
Risk and Exploitability
The CVSS score of 8.2 indicates high severity, but the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is malicious use of a SOCKS5 proxy that acts correctly during the handshake but then stalls or sends a partial TLS ServerHello. An attacker could force a target process to hang by repeatedly establishing such connections, exhausting CPU, memory, or other process limits. Because the flaw lies in the library, it can be exploited wherever Hackney is used without additional privileges.
OpenCVE Enrichment