Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.8%top 49%

CVE-2026-47071: CWE-400 Uncontrolled Resource Consumption in benoitc hackney

0
High
VulnerabilityCVE-2026-47071cvecve-2026-47071cwe-400
Published: 05/25/2026 (05/25/2026, 14:00:41 UTC)
Source: CVE Database V5
Vendor/Project: benoitc
Product: 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.

CVSS v4.0

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

hackney
pkg:hex/hackney
Affected versions
=0.10.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/01/2026, 20:35:47 UTC

Technical Analysis

The vulnerability in benoitc hackney arises because the SOCKS5 transport implementation applies the caller-supplied timeout only during the SOCKS5 handshake but not during the TLS upgrade that follows. The TLS connection uses ssl:connect/2 with an infinite timeout by default, ignoring the intended timeout values. A hostile SOCKS5 proxy can exploit this by completing the SOCKS5 handshake and then stalling during the TLS ServerHello phase, causing the client process to block indefinitely. This results in uncontrolled resource consumption (CWE-400) and potential denial of service. The issue affects hackney versions from 0.10.0 up to but not including 4.0.1.

Potential Impact

An attacker controlling a SOCKS5 proxy can cause the hackney client to block indefinitely during TLS negotiation, leading to resource exhaustion on the client side. This can result in denial of service conditions for applications relying on hackney for HTTP connections via SOCKS5 proxies. There is no indication of privilege escalation, data disclosure, or code execution from this vulnerability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch information is provided in the available data. Until a patch is available, users should consider avoiding use of untrusted SOCKS5 proxies or implement external timeout controls at the application or network level to mitigate indefinite blocking during TLS negotiation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 05/25/2026, 18:58:27 UTC

Last enriched: 06/01/2026, 20:35:47 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 67

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses