NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Erlang (Hex)

CVE-2025-1211: Server-side Request Forgery (SSRF) in hackney

lowCVSS 4.0 2.9 · 3.1 6.5GHSA-vq52-99r9-h5pw

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/.

Published Feb 11, 2025 · Updated Feb 20, 2025

Affected packages

hackney

Ecosystem
Erlang (Hex)
Affected
< 1.21.0
Fixed in
1.21.0

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to benoitc.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Erlang (Hex) vulnerabilities

All Erlang (Hex) entries