CVE-2025-1211
Versions of the package hackney before 1.21.0 are vulnerable to …
Versions of the package hackney before 1.21.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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1
- github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a
- security.snyk.io/vuln/SNYK-HEX-HACKNEY-6516131
- www.blackhat.com/docs/us-17/thursday/us-17-Tsai-A-New-Era-Of-SSRF-Exploiting-URL-Parser-In
- nvd.nist.gov/vuln/detail/CVE-2025-1211
- github.com/benoitc/hackney/releases/tag/1.21.0
- github.com/advisories/GHSA-vq52-99r9-h5pw
- nvd.nist.gov/vuln/detail/CVE-2025-1211
- cve.org/CVERecord?id=CVE-2025-1211
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.