CVE-2025-1211 – hackney
Package
Manager: erlang
Name: hackney
Vulnerable Version: >=0 <1.21.0
Severity
Level: Low
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
CVSS v4.0: 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
EPSS: 0.00109 pctl0.29941
Details
Server-side Request Forgery (SSRF) in hackney 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.
Metadata
Created: 2025-02-11T06:30:27Z
Modified: 2025-02-20T16:41:45Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/02/GHSA-vq52-99r9-h5pw/GHSA-vq52-99r9-h5pw.json
CWE IDs: ["CWE-918"]
Alternative ID: GHSA-vq52-99r9-h5pw
Finding: F100
Auto approve: 1