Skip to content

CVE-2025-1211 Server-side Request Forgery (SSRF) in hackney

MediumCVSS 6.3 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
cbl-mariner rabbitmq-server(CBL-Mariner 2.0) All versions No fix listed No fix yet
hex hackney(Hex) < 1.21.0 1.21.0 Fixed

Affected products

ProductAffected versionsFixed in
cbl-mariner rabbitmq-server(CBL-Mariner:2.0) All versions No fix listed
hex hackney(Hex) < 1.21.0 1.21.0

References