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.
Problem types
CWE-772 Missing Release of Resource after Effective Lifetime
Product status
Any version before 1.24.0
Credits
Michał Majchrowicz, Marcin Wyczechowski, and Paweł Zdunek — members of the AFINE Team
References
github.com/benoitc/hackney/issues/717
cert.pl/en/posts/2025/05/CVE-2025-3864/
github.com/...ommit/8f13ddac50d1626f8b9a47a08bd599e4efe1773d