{"id":"CVE-2026-47071","sourceIdentifier":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","published":"2026-05-25T15:16:22.143","lastModified":"2026-11-20T09:20:09.813","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"Uncontrolled Resource Consumption vulnerability in benoitc hackney allows Flooding.\n\nThe 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.\n\nThis issue affects hackney: from 0.8.1 before 4.0.1."},{"lang":"es","value":"Una vulnerabilidad de Consumo de Recursos Incontrolado en benoitc hackney permite Inundación. El transporte SOCKS5 en src/hackney_socks5.erl aplica correctamente el tiempo de espera proporcionado por el llamador a la fase de negociación SOCKS5, pero luego actualiza la conexión a TLS usando la forma de dos argumentos ssl:connect/2, que por defecto tiene un tiempo de espera infinito. El valor de Timeout está en el ámbito en el sitio de la llamada pero no se reenvía. Un proxy SOCKS5 hostil que completa el handshake SOCKS5 normalmente y luego se queda en silencio (o envía un TLS ServerHello parcial y se detiene) hará que el proceso de conexión se bloquee indefinidamente, independientemente de las opciones connect_timeout o recv_timeout proporcionadas por el llamador.\n\nEste problema afecta a hackney: desde 0.10.0 antes de 4.0.1."}],"affected":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","affectedData":[{"vendor":"benoitc","product":"hackney","defaultStatus":"unaffected","collectionURL":"https://repo.hex.pm","packageName":"hackney","cpes":["cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"],"modules":["hackney_socks5"],"programFiles":["src/hackney_socks5.erl","src/socket/hackney_socks5.erl","src/hackney_connect/hackney_socks5.erl"],"programRoutines":[{"name":"hackney_socks5:connect/4"}],"repo":"https://github.com/benoitc/hackney","packageURL":"pkg:hex/hackney","versions":[{"version":"0.8.1","lessThan":"4.0.1","versionType":"semver","status":"affected"}]},{"vendor":"benoitc","product":"hackney","defaultStatus":"unaffected","collectionURL":"https://github.com","packageName":"benoitc/hackney","cpes":["cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"],"modules":["hackney_socks5"],"programFiles":["src/hackney_socks5.erl","src/socket/hackney_socks5.erl","src/hackney_connect/hackney_socks5.erl"],"programRoutines":[{"name":"hackney_socks5:connect/4"}],"repo":"https://github.com/benoitc/hackney","packageURL":"pkg:github/benoitc/hackney","versions":[{"version":"34cdbd1d20a282aacc286a89327465a3925b4c5d","lessThan":"5ccdab725c561a6f03d05a51f2d0664f98236dae","versionType":"git","status":"affected"}]}]}],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":8.2,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-05-26T15:48:41.704626Z","id":"CVE-2026-47071","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","description":[{"lang":"en","value":"CWE-400"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*","versionStartIncluding":"0.10.0","versionEndExcluding":"4.0.1","matchCriteriaId":"7C34AFFA-7B8D-45F0-B4BA-A3242DE2E532"}]}]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-47071.html","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/benoitc/hackney/commit/34cdbd1d20a282aacc286a89327465a3925b4c5d","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"url":"https://github.com/benoitc/hackney/commit/5ccdab725c561a6f03d05a51f2d0664f98236dae","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":["Patch"]},{"url":"https://github.com/benoitc/hackney/security/advisories/GHSA-gp9c-pm5m-5cxr","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":["Exploit","Patch","Vendor Advisory"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-47071","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/benoitc/hackney/security/advisories/GHSA-gp9c-pm5m-5cxr","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Patch","Vendor Advisory"]}]}