Description
Apache Commons Net's FTP client trusts the host from PASV response by default.
The default in version 3.9.0 is now false to ignore such hosts, as cURL does.
To restore the pre-3.9.0 behavior, either:
- Set the new system property to org.apache.commons.net.ftp.ipAddressFromPasvResponse to true.
- Call FTPClient#setIpAddressFromPasvResponse(true);
Attachments
Issue Links
- is related to
-
HADOOP-18561 CVE-2021-37533 on commons-net is included in hadoop common and hadoop-client-runtime
- Resolved