Medium severity6.5OSV Advisory· Published Feb 11, 2025· Updated Apr 29, 2026
CVE-2025-1211
CVE-2025-1211
Description
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://127.0.0.1?@127.2.2.2/, 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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
hackneyHex | < 1.21.0 | 1.21.0 |
Affected products
2Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-vq52-99r9-h5pwghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-1211ghsaADVISORY
- gist.github.com/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1nvdWEB
- github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4anvdWEB
- github.com/benoitc/hackney/releases/tag/1.21.0ghsaWEB
- security.snyk.io/vuln/SNYK-HEX-HACKNEY-6516131nvdWEB
- www.blackhat.com/docs/us-17/thursday/us-17-Tsai-A-New-Era-Of-SSRF-Exploiting-URL-Parser-In-Trending-Programming-Languages.pdfnvdWEB
News mentions
0No linked articles in our index yet.