Upstream information
Description
The ftp and scp tasks of Apache Ant can download files from a remote server. A malicious server can provide relative paths that allow it to write outside of the dedicated target directory for the download, making it possible to overwrite files of the attacker's choice using the permissions of the user running Ant in versions prior to Ant 1.10.18.In order to exploit this vulnerability, the server would either have to be malicious or be subject to a machine-in-the-middle attack. Additionally in the case of scp or the ftp task using ftps the server must pass the server identity checks performed by the tasks.
For ftp tasks not using ftps a malicious server could act as a machine-in-the-middle to provide malicious files.
Starting with Ant 1.10.18 both tasks will prevent writing outside of the destination directory by default. An option is available to disable this behavior in the unlikely case that the old behavior is required by existing build files.
Mitigations:
Users of scp and ftp (when using ftps) in any version of Ant should not bypass server identity checks. Users of ftp not using ftps should switch to ftps where possible.
All users are recommended to upgrade to Apache Ant 1.10.18, which fixes this issue.
SUSE information
Overall state of this security issue: Pending
This issue is currently rated as having important severity.
| CVSS detail | CNA (CISA-ADP) | SUSE |
|---|---|---|
| Base Score | 7.4 | 8.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Attack Vector | Network | Network |
| Attack Complexity | High | High |
| Privileges Required | None | None |
| User Interaction | None | None |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | High | High |
| Integrity Impact | High | High |
| Availability Impact | None | High |
| CVSSv3 Version | 3.1 | 3.1 |
| CVSS detail | SUSE |
|---|---|
| Base Score | 9.2 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Attack Vector | Network |
| Attack Complexity | Low |
| Attack Requirements | Present |
| Privileges Required | None |
| User Interaction | None |
| Vulnerable System Confidentiality Impact | High |
| Vulnerable System Integrity Impact | High |
| Vulnerable System Availability Impact | High |
| Subsequent System Confidentiality Impact | None |
| Subsequent System Integrity Impact | None |
| 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 Desktop 15 SP7 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 12 | ant | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP7 | ant | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | ant | Affected |
| SUSE Linux Enterprise Server 15 SP7 | ant | Affected |
| SUSE Linux Enterprise Server 16.0 | ant | Affected |
| SUSE Linux Enterprise Server 16.1 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | ant | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | ant | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | ant | Affected |
| openSUSE Leap 16.0 | ant | Affected |
| Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
| SUSE Linux Enterprise High Performance Computing 12 SP5 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | ant | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP4 | ant | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP5 | ant | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | ant | Affected |
| SUSE Linux Enterprise Server 12 SP5 | ant | Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS | ant | Affected |
| SUSE Linux Enterprise Server 15 SP4 | ant | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | ant | Affected |
| SUSE Linux Enterprise Server 15 SP5 | ant | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | ant | Affected |
| SUSE Linux Enterprise Server 15 SP6 | ant | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | ant | Affected |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | ant | Affected |
| Products past their end of life and not receiving proactive updates anymore. | ||
| HPE Helion OpenStack 8 | ant | Affected |
| SUSE CaaS Platform 4.0 | ant | Affected |
| SUSE Enterprise Storage 6 | ant | Affected |
| SUSE Enterprise Storage 7 | ant | Affected |
| SUSE Enterprise Storage 7.1 | ant | Affected |
| SUSE Linux Enterprise Desktop 12 | ant | Affected |
| SUSE Linux Enterprise Desktop 12 SP1 | ant | Affected |
| SUSE Linux Enterprise Desktop 12 SP2 | ant | Affected |
| SUSE Linux Enterprise Desktop 12 SP3 | ant | Affected |
| SUSE Linux Enterprise Desktop 12 SP4 | ant | Affected |
| SUSE Linux Enterprise Desktop 15 | ant | Affected |
| SUSE Linux Enterprise Desktop 15 SP1 | ant | Affected |
| SUSE Linux Enterprise Desktop 15 SP2 | ant | Affected |
| SUSE Linux Enterprise Desktop 15 SP3 | ant | Affected |
| SUSE Linux Enterprise Desktop 15 SP4 | ant | Affected |
| SUSE Linux Enterprise Desktop 15 SP5 | ant | Affected |
| SUSE Linux Enterprise Desktop 15 SP6 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP1 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP2 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP3 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 12 SP4 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | ant | Affected |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | ant | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 | ant | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP1 | ant | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP2 | ant | Affected |
| SUSE Linux Enterprise Module for Development Tools 15 SP3 | ant | Affected |
| SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT | ant | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | ant | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | ant | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | ant | Affected |
| SUSE Linux Enterprise Server 12 | ant | Affected |
| SUSE Linux Enterprise Server 12 SP1 | ant | Affected |
| SUSE Linux Enterprise Server 12 SP1-LTSS | ant | Affected |
| SUSE Linux Enterprise Server 12 SP2 | ant | Affected |
| SUSE Linux Enterprise Server 12 SP2-BCL | ant | Affected |
| SUSE Linux Enterprise Server 12 SP2-ESPOS | ant | Affected |
| SUSE Linux Enterprise Server 12 SP2-LTSS | ant | Affected |
| SUSE Linux Enterprise Server 12 SP3 | ant | Affected |
| SUSE Linux Enterprise Server 12 SP3-BCL | ant | Affected |
| SUSE Linux Enterprise Server 12 SP3-ESPOS | ant | Affected |
| SUSE Linux Enterprise Server 12 SP3-LTSS | ant | Affected |
| SUSE Linux Enterprise Server 12 SP4 | ant | Affected |
| SUSE Linux Enterprise Server 12 SP4-ESPOS | ant | Affected |
| SUSE Linux Enterprise Server 12 SP4-LTSS | ant | Affected |
| SUSE Linux Enterprise Server 12-LTSS | ant | Affected |
| SUSE Linux Enterprise Server 15 | ant | Affected |
| SUSE Linux Enterprise Server 15 SP1 | ant | Affected |
| SUSE Linux Enterprise Server 15 SP1-BCL | ant | Affected |
| SUSE Linux Enterprise Server 15 SP1-LTSS | ant | Affected |
| SUSE Linux Enterprise Server 15 SP2 | ant | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | ant | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | ant | Affected |
| SUSE Linux Enterprise Server 15 SP3 | ant | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | ant | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | ant | Affected |
| SUSE Linux Enterprise Server 15-LTSS | ant | Affected |
| SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP1 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | ant | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | ant | Affected |
| SUSE Linux Enterprise Software Development Kit 12 | ant | Affected |
| SUSE Linux Enterprise Software Development Kit 12 SP1 | ant | Affected |
| SUSE Linux Enterprise Software Development Kit 12 SP2 | ant | Affected |
| SUSE Linux Enterprise Software Development Kit 12 SP3 | ant | Affected |
| SUSE Linux Enterprise Software Development Kit 12 SP4 | ant | Affected |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | ant | Affected |
| SUSE Manager Proxy 4.0 | ant | Affected |
| SUSE Manager Proxy 4.1 | ant | Affected |
| SUSE Manager Proxy 4.2 | ant | Affected |
| SUSE Manager Proxy 4.3 | ant | Affected |
| SUSE Manager Retail Branch Server 4.0 | ant | Affected |
| SUSE Manager Retail Branch Server 4.1 | ant | Affected |
| SUSE Manager Retail Branch Server 4.2 | ant | Affected |
| SUSE Manager Retail Branch Server 4.3 | ant | Affected |
| SUSE Manager Server 4.0 | ant | Affected |
| SUSE Manager Server 4.1 | ant | Affected |
| SUSE Manager Server 4.2 | ant | Affected |
| SUSE Manager Server 4.3 | ant | Affected |
| SUSE OpenStack Cloud 7 | ant | Affected |
| SUSE OpenStack Cloud 8 | ant | Affected |
| SUSE OpenStack Cloud 9 | ant | Affected |
| SUSE OpenStack Cloud Crowbar 8 | ant | Affected |
| SUSE OpenStack Cloud Crowbar 9 | ant | Affected |
| openSUSE Leap 15.3 | ant | Affected |
| openSUSE Leap 15.4 | ant | Affected |
| openSUSE Leap 15.5 | ant | Affected |
| openSUSE Leap 15.6 | ant | Affected |
SUSE Timeline for this CVE
CVE page created: Thu Sep 10 21:04:02 2026CVE page last modified: Thu Sep 10 21:54:13 2026