CVE-2021-30640: Auth weakness in JNDIRealm

Published Jul 12, 2021
·
Updated

A vulnerability in the JNDI Realm of Apache Tomcat allows an attacker to authenticate using variations of a valid user name and/or to bypass some of the protection provided by the LockOut Realm. This issue affects Apache Tomcat 10.0.0-M1 to 10.0.5; 9.0.0.M1 to 9.0.45; 8.5.0 to 8.5.65.

Other sources

Apache Tomcat could allow a remote attacker to bypass security restrictions, caused by improper authentication validation in the JNDI Realm. By sending a specially-crafted request using various user names, an attacker could exploit this vulnerability to bypass some of the protection provided by the LockOut Realm.

IBM

Affected Software

24 affected componentsFixes available
redhat/jws5-tomcat<0:9.0.50-3.redhat_00004.1.el7
0:9.0.50-3.redhat_00004.1.el7
redhat/jws5-tomcat-native<0:1.2.30-3.redhat_3.el7
0:1.2.30-3.redhat_3.el7
redhat/jws5-tomcat-vault<0:1.1.8-4.Final_redhat_00004.1.el7
0:1.1.8-4.Final_redhat_00004.1.el7
redhat/jws5-tomcat<0:9.0.50-3.redhat_00004.1.el8
0:9.0.50-3.redhat_00004.1.el8
redhat/jws5-tomcat-native<0:1.2.30-3.redhat_3.el8
0:1.2.30-3.redhat_3.el8
redhat/jws5-tomcat-vault<0:1.1.8-4.Final_redhat_00004.1.el8
0:1.1.8-4.Final_redhat_00004.1.el8
redhat/tomcat<10.0.6
10.0.6
redhat/tomcat<9.0.46
9.0.46
redhat/tomcat<8.5.66
8.5.66
redhat/tomcat<7.0.109
7.0.109
IBM DRM<=2.0.6
Apache Tomcat>=7.0.0<7.0.109
Apache Tomcat>=8.5.0<8.5.66
Apache Tomcat>=9.0.0<9.0.46
Apache Tomcat>=10.0.0<10.0.6
Oracle Communications Cloud Native Core Policy=1.14.0
Oracle Communications Diameter Signaling Router>=8.0.0<=8.5.0
Oracle Communications Pricing Design Center=12.0.0.3.0
Oracle Hospitality Cruise Shipboard Property Management System=20.1.0
Oracle Tekelec Platform Distribution>=7.4.0<=7.7.1
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
debian/tomcat9
9.0.43-2~deb11u109.0.43-2~deb11u129.0.70-29.0.95-1

Event History

Jul 12, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·02:55 PM
Data Sourced
via MITRE·02:55 PM
DescriptionWeakness
Data Sourced
via Red Hat·07:04 PM
DescriptionSeverityAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:56 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:31 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-30640?

CVE-2021-30640 is a vulnerability in the JNDI Realm of Apache Tomcat that allows an attacker to bypass security restrictions.

2

How does CVE-2021-30640 impact Apache Tomcat?

CVE-2021-30640 allows a remote attacker to bypass security restrictions in Apache Tomcat.

3

What is the severity of CVE-2021-30640?

CVE-2021-30640 has a severity rating of 7.5 (high).

4

Which versions of Apache Tomcat are affected by CVE-2021-30640?

Affected versions include Apache Tomcat 7.0.0 to 7.0.109, 8.5.0 to 8.5.66, 9.0.0 to 9.0.46, and 10.0.0 to 10.0.6.

5

How can I fix CVE-2021-30640 in Apache Tomcat?

To fix CVE-2021-30640, upgrade to Apache Tomcat versions 7.0.110, 8.5.67, 9.0.47, or 10.0.7.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203