{"id":"CVE-2025-1211","published":"2025-02-11T05:00:00Z","modified":"2025-03-16T12:48:56Z","title":"Versions of the package hackney before 1.21.0 are vulnerable to Server-side Request Forgery (SSRF) due to improper…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00676,"percentile":0.47322,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-HEX-HACKNEY-6516131","tags":[]},{"url":"https://gist.github.com/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1","tags":[]},{"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","tags":[]},{"url":"https://github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a","tags":[]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":9.46},{"name":"CVSS severity","points":4.55}]},"affectedVersions":[{"vendor":"n/a","product":"hackney","versions":["< 1.21.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-11T15:54:20.603460Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"hackney","vulnerableRanges":["<1.21.0"],"patched":["1.21.0"],"from":["GHSA-vq52-99r9-h5pw"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-2081","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-benoitc-hackney-cve-2025-1211","children":[{"from":"CVE-2025-1211","to":"CVE-2026-115700","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/hackney_url.erl"],"commits":["https://github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a","https://github.com/benoitc/hackney/commit/452620a92ec1da2e6b4862a049a2a4f04b42068f","https://github.com/benoitc/hackney/commit/f19561a0b422376348c91537e51377ab7325f4ee"],"basis":"rarely changed file"}]},{"from":"CVE-2025-1211","to":"CVE-2026-47076","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/hackney_url.erl"],"commits":["https://github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a","https://github.com/benoitc/hackney/commit/452620a92ec1da2e6b4862a049a2a4f04b42068f","https://github.com/benoitc/hackney/commit/4d725507588942fd00efca15b86da3273656510a"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2025-1211","published":"2025-02-11","fixed":"1.21.0","kev":false},{"cve":"CVE-2025-3864","published":"2025-05-28","fixed":"1.24.0","kev":false,"link":{"from":"CVE-2025-1211","to":"CVE-2025-3864","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Hex:hackney","fromFixed":"1.21.0","toFixed":"1.24.0","daysApart":106}]}},{"cve":"CVE-2026-47066","published":"2026-05-25","fixed":"4.0.1","kev":false},{"cve":"CVE-2026-47067","published":"2026-05-25","fixed":"4.0.1","kev":false}],"package":"Hex:hackney"}}