NetSight
medium6.5

CVE-2025-1211

Server-side Request Forgery (SSRF) in hackney

Impact

Versions of the package hackney from 0.0.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/. This vulnerability can be exploited when users rely on the URL function for host checking.

Affected packages

EcosystemPackageAffectedFixed in
erlanghackney< 1.21.01.21.0

Affected products

ProductAffected versions
Package Hackney
before 1.21.0

Versions were read from the advisory text. No structured product data has been published for this record yet.

Weakness classification

References