Description
Hackney fails to properly release HTTP connections to the pool after handling 307 Temporary Redirect responses. Remote attackers can exploit this to exhaust connection pools, causing denial of service in applications using the library.
Fix for this issue has been included in 1.24.0 release.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| hackney | hackney | < 1.24.0 | 1.24.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Hex | hackney | < 1.24.0 | 1.24.0 | GHSA-9fm9-hp7p-53mf |
References
- https://github.com/benoitc/hackney/issues/717 issue-tracking
- https://cert.pl/en/posts/2025/05/CVE-2025-3864/ third-party-advisory
- https://github.com/benoitc/hackney/commit/8f13ddac50d1626f8b9a47a08bd599e4efe1773d patch