CVE-2026-47071: CWE-400 Uncontrolled Resource Consumption in benoitc hackney
Uncontrolled Resource Consumption vulnerability in benoitc hackney allows Flooding. The SOCKS5 transport in src/hackney_socks5.erl correctly applies the caller-supplied timeout to the SOCKS5 negotiation phase, but then upgrades the connection to TLS using the two-argument form ssl:connect/2, which defaults to an infinite timeout. The Timeout value is in scope at the call site but is not forwarded. A hostile SOCKS5 proxy that completes the SOCKS5 handshake normally and then goes silent (or sends a partial TLS ServerHello and stalls) will cause the connecting process to block indefinitely, regardless of the connect_timeout or recv_timeout options supplied by the caller. This issue affects hackney: from 0.10.0 before 4.0.1.
AI Analysis
Technical Summary
The vulnerability in benoitc hackney's SOCKS5 transport occurs because the timeout value used during SOCKS5 negotiation is not forwarded when the connection is upgraded to TLS via ssl:connect/2, which defaults to an infinite timeout. A malicious SOCKS5 proxy can exploit this by completing the handshake and then stalling during the TLS handshake, causing the client process to block indefinitely. This uncontrolled resource consumption can result in denial of service conditions. The affected versions are from 0.10.0 up to but not including 4.0.1.
Potential Impact
An attacker controlling a SOCKS5 proxy can cause the client process using hackney to block indefinitely, leading to resource exhaustion and potential denial of service. This can disrupt applications relying on hackney for network communication through SOCKS5 proxies. There is no indication of data compromise or privilege escalation from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor the vendor's announcements for updates. Until a fix is available, avoid using untrusted SOCKS5 proxies or implement external timeout controls at the application or network level to mitigate indefinite blocking.
CVE-2026-47071: CWE-400 Uncontrolled Resource Consumption in benoitc hackney
Description
Uncontrolled Resource Consumption vulnerability in benoitc hackney allows Flooding. The SOCKS5 transport in src/hackney_socks5.erl correctly applies the caller-supplied timeout to the SOCKS5 negotiation phase, but then upgrades the connection to TLS using the two-argument form ssl:connect/2, which defaults to an infinite timeout. The Timeout value is in scope at the call site but is not forwarded. A hostile SOCKS5 proxy that completes the SOCKS5 handshake normally and then goes silent (or sends a partial TLS ServerHello and stalls) will cause the connecting process to block indefinitely, regardless of the connect_timeout or recv_timeout options supplied by the caller. This issue affects hackney: from 0.10.0 before 4.0.1.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in benoitc hackney's SOCKS5 transport occurs because the timeout value used during SOCKS5 negotiation is not forwarded when the connection is upgraded to TLS via ssl:connect/2, which defaults to an infinite timeout. A malicious SOCKS5 proxy can exploit this by completing the handshake and then stalling during the TLS handshake, causing the client process to block indefinitely. This uncontrolled resource consumption can result in denial of service conditions. The affected versions are from 0.10.0 up to but not including 4.0.1.
Potential Impact
An attacker controlling a SOCKS5 proxy can cause the client process using hackney to block indefinitely, leading to resource exhaustion and potential denial of service. This can disrupt applications relying on hackney for network communication through SOCKS5 proxies. There is no indication of data compromise or privilege escalation from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor the vendor's announcements for updates. Until a fix is available, avoid using untrusted SOCKS5 proxies or implement external timeout controls at the application or network level to mitigate indefinite blocking.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-18T17:28:08.322Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a149bd3a5ae1af1aad77321
Added to database: 5/25/2026, 6:58:27 PM
Last enriched: 5/25/2026, 6:59:01 PM
Last updated: 5/26/2026, 7:54:33 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.