Advisory Published
CVE Published
Updated

CVE-2021-2341

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-2341?

    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.

  • Which versions of Java SE are affected by CVE-2021-2341?

    Java SE versions 7u301, 8u291, 11.0.11, and 16.0.1 are affected by CVE-2021-2341.

  • Which versions of Oracle GraalVM Enterprise Edition are affected by CVE-2021-2341?

    Oracle GraalVM Enterprise Edition versions 20.3.2 and 21.1.0 are affected by CVE-2021-2341.

  • What is the severity of CVE-2021-2341?

    The severity of CVE-2021-2341 is medium, with a CVSS score of 3.1.

  • How can I mitigate the vulnerability CVE-2021-2341 in Java SE?

    To mitigate CVE-2021-2341, Oracle recommends patching to the following versions: 7u311, 8u301, 11.0.12, and 16.0.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203