~ / search / GHSA-vq52-99r9-h5pw

GHSA-vq52-99r9-h5pw

Server-side Request Forgery (SSRF) in hackney

Source: GitHub Advisory Database (reviewed) Low CVE-2025-1211

Packages

EcosystemPackageAffectedFixed in
Hex hackney < 1.21.0 1.21.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.