GHSA-vq52-99r9-h5pwLowCVSS 6.5

Server-side Request Forgery (SSRF) in hackney

Published
February 11, 2025
Last Modified
February 20, 2025

🔗 CVE IDs covered (1)

📋 Description

Versions of the package hackney from 0.0.0 are vulnerable to Server-side Request Forgery (SSRF) due to improper parsing of URLs by URI built-in module and hackey. Given the URL http://[email protected]/, the URI function will parse and see the host as 127.0.0.1 (which is correct), and hackney will refer the host as 127.2.2.2/. This vulnerability can be exploited when users rely on the URL function for host checking.

🎯 Affected products1

  • erlang/hackney:< 1.21.0

🔗 References (7)