First published: Thu Jul 15 2021(Updated: )
A flaw was found in the way the FtpClient implementation in the Networking component of OpenJDK handled responses to the FTP PASV command. A malicious FTP server could cause a Java application using FtpClient to connect to a host and port that is not accessible from the FTP server and perform port scanning or banner extraction. The fix for this issue prevents FtpClient from connecting to hosts different form the server used for the main FTP connection. As this fix may break certain FTP deployments, a newly introduced system property jdk.net.ftp.trustPasvAddress can be used to make FtpClient connect to any host specified in the PASV command response.
Credit: secalert_us@oracle.com
Affected Software | Affected Version | How to fix |
---|---|---|
debian/openjdk-11 | 11.0.16+8-1~deb10u1 11.0.20+8-1~deb10u1 11.0.20+8-1~deb11u1 11.0.21+9-1 | |
debian/openjdk-8 | 8u382-ga-2 | |
Oracle GraalVM | =20.3.2 | |
Oracle GraalVM | =21.1.0 | |
Oracle OpenJDK | =7-update301 | |
Oracle OpenJDK | =8-update291 | |
Oracle OpenJDK | =11.0.11 | |
Oracle OpenJDK | =16.0.1 | |
Debian Debian Linux | =9.0 | |
Debian Debian Linux | =10.0 | |
Fedoraproject Fedora | =33 | |
Fedoraproject Fedora | =34 | |
IBM Cloud Pak for Security (CP4S) | <=1.7.2.0 | |
IBM Cloud Pak for Security (CP4S) | <=1.7.1.0 | |
IBM Cloud Pak for Security (CP4S) | <=1.7.0.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-2341 is an unspecified vulnerability in Java SE related to the Networking component that could allow an unauthorized attacker to compromise the confidentiality, integrity, and availability of the affected system.
Java SE versions 7u301, 8u291, 11.0.11, and 16.0.1 are affected by CVE-2021-2341.
Oracle GraalVM Enterprise Edition versions 20.3.2 and 21.1.0 are affected by CVE-2021-2341.
The severity of CVE-2021-2341 is medium, with a CVSS score of 3.1.
To mitigate CVE-2021-2341, Oracle recommends patching to the following versions: 7u311, 8u301, 11.0.12, and 16.0.2.