Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-1211 EUVD-2025-2081GHSA-vq52-99r9-h5pw

Server-side Request Forgery (SSRF) in hackney

Published Feb 11, 2025 · Updated Mar 16, 2025 · Assigned by snyk

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

Affected products

VendorProductAffectedFixed
— hackney < 1.21.0 1.21.0

Affected packages

EcosystemPackageAffectedFixedRecord
Hex hackney < 1.21.0 1.21.0 GHSA-vq52-99r9-h5pw

References