{"id":"CVE-2025-1211","details":"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/. \rThis vulnerability can be exploited when users rely on the URL function for host checking.","aliases":["GHSA-vq52-99r9-h5pw"],"modified":"2026-08-12T03:51:44.663795919Z","published":"2025-02-11T05:00:00.994Z","database_specific":{"cna_assigner":"snyk","cwe_ids":["CWE-918"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1211.json"},"references":[{"type":"WEB","url":"https://gist.github.com/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-HEX-HACKNEY-6516131"},{"type":"WEB","url":"https://www.blackhat.com/docs/us-17/thursday/us-17-Tsai-A-New-Era-Of-SSRF-Exploiting-URL-Parser-In-Trending-Programming-Languages.pdf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1211.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1211"},{"type":"FIX","url":"https://github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/benoitc/hackney","events":[{"introduced":"0"},{"fixed":"6eaca56d1ae389ae41244746e14490fa5e0f216f"},{"fixed":"9594ce58fabd32cd897fc28fae937694515a3d4a"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.21.0"}]}}],"versions":["1.20.1","1.20.0","1.19.1","1.19.0","1.18.2","1.18.1","1.18.0","1.17.4","1.17.3","1.17.2","v1.17.0","1.17.0","1.17.1","1.16.0","0.16.0","1.15.2","1.15.1","1.15.0","1.14.3","1.14.2","1.14.0","1.13.0","1.12.1","1.12.0","1.11.0","1.10.1","1.10.0","1.9.0","1.8.6","1.8.5","1.8.4","1.8.3","1.8.2","1.8.0","1.7.1","1.7.0","1.6.6","1.6.5","1.6.4","1.6.3","1.6.2","1.6.1","1.6.0","1.5.7","1.5.6","1.5.5","1.5.4","1.5.1","1.5.0","1.4.10","1.4.9","1.4.8","1.4.7","1.4.6","1.4.5","1.4.4","1.4.3","1.4.2","1.4.1","1.4.0","1.3.2","1.3.1","1.3.0","1.2.0","1.1.0","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0","0.15.2","0.15.1","0.15.0","0.14.3","0.14.2","0.14.1","0.14.0","0.13.1","0.13.0","0.12.1","0.12.0","0.11.2","0.11.1","0.11.0","0.10.1","0.10.0","0.9.1","0.9.0","0.8.3","0.8.2","0.8.1","0.8.0","0.7.0","0.6.1","0.6.0","0.5.0","0.4.4","0.4.3","0.4.2","0.4.1","0.4.0","0.3.2","0.3.1","0.3.0","0.2.0","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1211.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:L/E:P"}]}