{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-1211","id":"CVE-2025-1211","title":"Server-side Request Forgery (SSRF) in hackney","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/. \rThis vulnerability can be exploited when users rely on the URL f","descriptionLong":"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","updated":"2026-10-28T02:31:07.404037421Z","reserved":"2025-02-10T19:59:44.641Z","status":"Deferred","rejected":false,"assigner":"snyk","metric":{"version":"4.0","score":6.3,"vector":"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","rating":"medium","source":"snyk"},"metrics":[{"version":"4.0","score":6.3,"vector":"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","rating":"medium","source":"snyk"},{"version":"4.0","score":2.9,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"low","source":"snyk.io"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P","rating":"medium","source":"snyk"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","rating":"medium","source":"snyk.io"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["hackney"],"affectedProducts":[{"vendor":"n/a","product":"hackney","defaultStatus":null,"versions":[{"version":"0","lessThan":"1.21.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Hex","name":"hackney","purl":"pkg:hex/hackney","ranges":["<1.21.0"],"fixed":["1.21.0"],"advisory":"GHSA-vq52-99r9-h5pw"}],"cwes":["CWE-918"],"aliases":["GHSA-vq52-99r9-h5pw"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-HEX-HACKNEY-6516131","tags":["web"]},{"url":"https://gist.github.com/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1","tags":["exploit","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","tags":["web"]},{"url":"https://github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a","tags":["fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1211.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1211","tags":["advisory"]},{"url":"https://github.com/benoitc/hackney","tags":["package"]},{"url":"https://github.com/benoitc/hackney/releases/tag/1.21.0","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00547,"epssPercentile":0,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-1211","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1211","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-1211","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vq52-99r9-h5pw","ok":true,"note":"GHSA-vq52-99r9-h5pw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-1211","ok":true,"note":"scored "}],"aiTitle":false,"tech":[],"critical":[],"attention":null}