In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade org.springframework.integration:spring-integration-ftp to version 7.0.8, 7.1.3 or higher.
Affected versions of this package are vulnerable to Improper Certificate Validation in the DefaultFtpsSessionFactory class, which by default relies on Apache Commons Net's trust manager that checks only certificate validity dates, never the chain against a trust anchor, and does not enable FTPS endpoint (hostname) checking. An attacker in a MitM position between the application and the FTPS server can present any unexpired self-signed certificate, intercept the TLS session, capture the login credentials, and read or alter transferred files. This affects any application that uses DefaultFtpsSessionFactory without an explicitly configured TrustManager.
This vulnerability can be avoided by configuring DefaultFtpsSessionFactory with an explicit TrustManager via setTrustManager() that performs full chain validation, for example one from the JRE default TrustManagerFactory.