Net::FTP versions before 3.17 for Perl have a vulnerability where the passive data channel connects to the IP address specified in the server's PASV reply without verifying it against the control connection's peer. This allows a malicious FTP server to cause the client to open TCP connections to arbitrary hosts and ports, including internal network addresses.