{"id":"CVE-2025-1211","state":"PUBLISHED","title":"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 ","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 function for host checking.","publishedAt":"2025-02-11T05:00:00.994Z","updatedAt":"2025-03-16T12:48:56.614Z","severity":{"score":6.3,"label":"Medium","version":"4.0","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","source":"snyk"},"assigner":"snyk","products":["n/a hackney"],"affected":[{"vendor":"n/a","product":"hackney","versions":[{"version":"0","status":"affected","lessThan":"1.21.0","versionType":"semver"}]}],"references":["https://security.snyk.io/vuln/SNYK-HEX-HACKNEY-6516131","https://gist.github.com/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1","https://www.blackhat.com/docs/us-17/thursday/us-17-Tsai-A-New-Era-Of-SSRF-Exploiting-URL-Parser-In-Trending-Programming-Languages.pdf","https://github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/1xxx/CVE-2025-1211.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-1211","state":"PUBLISHED","datePublished":"2025-02-11T05:00:00.994Z","dateUpdated":"2025-03-16T12:48:56.614Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2025-02-10T19:59:44.641Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"hackney","versions":[{"version":"0","status":"affected","lessThan":"1.21.0","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-HEX-HACKNEY-6516131"},{"url":"https://gist.github.com/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1"},{"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"},{"url":"https://github.com/benoitc/hackney/commit/9594ce58fabd32cd897fc28fae937694515a3d4a"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","exploitCodeMaturity":"PROOF_OF_CONCEPT","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":6.5,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L/E:P"},"cvssV4_0":{"version":"4.0","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","exploitMaturity":"PROOF_OF_CONCEPT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","subAvailabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","description":"Server-side Request Forgery (SSRF)","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2025-03-16T12:48:56.614Z"},"credits":[{"value":"Sam Sanoop","lang":"en"}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://gist.github.com/snoopysecurity/996de09ec0cfd0ebdcfdda8ff515deb1","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-11T15:54:20.603460Z","id":"CVE-2025-1211","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","type":"CWE","lang":"en","description":"CWE-918 Server-Side Request Forgery (SSRF)"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-11T15:54:56.977Z"}}]}}}