Upstream information
Description
Server-Side Request Forgery (SSRF) vulnerability in Erlang/OTP ftp (ftp_internal module) allows FTP bounce attacks and SSRF via an unvalidated PASV response IP address.The ftp_internal:handle_ctrl_result/2 PASV handler (mode=passive, ipfamily=inet, ftp_extension=false) extracts the IP address from the server's 227 response and passes it directly to gen_tcp:connect/4 without validating it against the control connection peer address. The adjacent EPSV handlers correctly call peername(CSock) to derive the IP from the control connection, but the PASV handler does not. A malicious or compromised FTP server can redirect the client's data connection to an arbitrary internal host and port. On read operations (ftp:ls/1,2, ftp:nlist/1,2, ftp:recv/2,3), data from the redirected target is returned to the caller. On write operations (ftp:send/2,3, ftp:append/2,3), file content is sent to the redirected target. This enables SSRF against internal hosts, cloud metadata endpoints, and FTP bounce attacks against third-party hosts.
The vulnerable path is the default configuration (mode=passive, ipfamily=inet, ftp_extension=false). RFC 2577 section 3 explicitly recommends validating the PASV response IP against the control connection peer.
The ftp application is deprecated and scheduled for removal in OTP-30.
This vulnerability is associated with program files lib/inets/src/ftp/ftp_internal.erl (inets 5.10.4 through 6.5, OTP 17.4 through 20.3) and lib/ftp/src/ftp_internal.erl (ftp 1.0 and later, OTP 21.0 and later).
This issue affects OTP from OTP 17.4 before 29.0.2, 28.5.0.2 and 27.3.4.13 corresponding to inets from 5.10.4 before 7.0 and ftp from 1.0 before 1.2.6, 1.2.4.1 and 1.2.3.1.
SUSE information
Overall state of this security issue: Pending
This issue is currently rated as having important severity.
| CVSS detail | National Vulnerability Database | SUSE |
|---|---|---|
| Base Score | 6.5 | 8.2 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Privileges Required | None | None |
| User Interaction | None | None |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | Low | High |
| Integrity Impact | Low | Low |
| Availability Impact | None | None |
| CVSSv3 Version | 3.1 | 3.1 |
| CVSS detail | CNA (6b3ad84c-e1a6-4bf7-a703-f496b71e49db) |
|---|---|
| Base Score | 6.3 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| Attack Vector | Network |
| Attack Complexity | Low |
| Attack Requirements | Present |
| Privileges Required | None |
| User Interaction | None |
| Vulnerable System Confidentiality Impact | Low |
| Vulnerable System Integrity Impact | Low |
| Vulnerable System Availability Impact | None |
| Subsequent System Confidentiality Impact | Low |
| Subsequent System Integrity Impact | Low |
| Subsequent System Availability Impact | None |
| CVSSv4 Version | 4.0 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
| Product(s) | Source package | State |
|---|---|---|
| Products under general support and receiving all security fixes. | ||
| SUSE Linux Enterprise High Performance Computing 15 SP7 | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | erlang26 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | erlang | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | erlang26 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP7 | erlang26 | Affected |
| SUSE Linux Enterprise Server 16.0 | erlang | Affected |
| SUSE Linux Enterprise Server 16.1 | erlang | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | erlang | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | erlang26 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | erlang | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | erlang | Affected |
| openSUSE Leap 16.0 | erlang | Affected |
| Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
| SUSE Linux Enterprise High Performance Computing 15 SP4 | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | erlang | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP4 | erlang | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP5 | erlang | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | erlang | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | erlang26 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP5 | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP6 | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP6 | erlang26 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | erlang26 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | erlang | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | erlang26 | Affected |
| SUSE Manager Proxy 4.3 | erlang | Affected |
| SUSE Manager Proxy LTS 4.3 | erlang | Affected |
| SUSE Manager Retail Branch Server 4.3 | erlang | Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | erlang | Affected |
| SUSE Manager Server 4.3 | erlang | Affected |
| SUSE Manager Server LTS 4.3 | erlang | Affected |
| Products past their end of life and not receiving proactive updates anymore. | ||
| SUSE Enterprise Storage 7 | erlang | Affected |
| SUSE Enterprise Storage 7.1 | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | erlang | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | erlang26 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP2 | erlang | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP3 | erlang | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | erlang | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | erlang | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP2 | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP3 | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | erlang | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | erlang | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | erlang | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | erlang | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | erlang | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | erlang | Affected |
| SUSE Manager Proxy 4.1 | erlang | Affected |
| SUSE Manager Proxy 4.2 | erlang | Affected |
| SUSE Manager Retail Branch Server 4.1 | erlang | Affected |
| SUSE Manager Retail Branch Server 4.2 | erlang | Affected |
| SUSE Manager Server 4.1 | erlang | Affected |
| SUSE Manager Server 4.2 | erlang | Affected |
| openSUSE Leap 15.3 | erlang | Affected |
| openSUSE Leap 15.4 | erlang | Affected |
| openSUSE Leap 15.5 | erlang | Affected |
| openSUSE Leap 15.6 | erlang | Affected |
| openSUSE Leap 15.6 | erlang26 | Affected |
SUSE Timeline for this CVE
CVE page created: Wed Jun 10 20:03:57 2026CVE page last modified: Fri Jun 12 11:32:10 2026