CVE-2025-1211

MEDIUM CVSS 4.0: 6.3 EPSS 0.55%
Updated Mar 16, 2025
Versions
Parameter Value
CVSS 6.3 (MEDIUM)
Affected Versions before 1.21.0
Type CWE-918 (Server-Side Request Forgery (SSRF))
Vendor Versions
Public PoC Yes

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0