{"id":"CVE-2025-1211","aliases":["GHSA-vq52-99r9-h5pw"],"url":"https://o3.security/vulnerability/CVE-2025-1211","summary":"Server-side Request Forgery (SSRF) in hackney","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.","published":"2025-02-11T05:00:00.994Z","modified":"2026-07-15T01:48:55.479420858Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Hex","name":"hackney","fixedVersion":"1.21.0"}],"fix":{"url":"https://github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a","label":"benoitc/hackney@9594ce5"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:48:55.479420858Z"}}