Medium severity · published Jul 12, 2021
CVE-2021-30640
Auth weakness in JNDIRealm
6.5
CVSS
9.9%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)9.9% · higher than 96% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TO
Tomcat · Apache
Apache Tomcat 10 10.0.0-M1 to 10.0.5; Apache Tomcat 9 9.0.0.M1 to 9.0.45; Apache Tomcat 8.5 8.5.0 to 8.5.65; Apache Tomcat 7 7.0.0 to 7.0.108 · source: vendor, NVD
CC
Communications Cloud Native Core Policy · Oracle
1.14.0 · source: NVD
CD
Communications Diameter Signaling Router · Oracle
8.0.0 through 8.5.0 · source: NVD
CP
Communications Pricing Design Center · Oracle
12.0.0.3.0 · source: NVD
DL
Debian Linux · Debian
9.0; 10.0; 11.0 · source: NVD
HC
Hospitality Cruise Shipboard Property Management System · Oracle
20.1.0 · source: NVD
TP
Tekelec Platform Distribution · Oracle
7.4.0 through 7.7.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-30640
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-30640
Mailing List
https://lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E
Mailing List
https://lists.debian.org/debian-lts-announce/2021/08/msg00009.html
Third Party Advisory
https://security.gentoo.org/glsa/202208-34
Third Party Advisory
https://security.netapp.com/advisory/ntap-20210827-0007/
Third Party Advisory
https://www.debian.org/security/2021/dsa-4952
Third Party Advisory
https://www.debian.org/security/2021/dsa-4986
More from Tomcat
9.8
CVE-2025-24813
Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUT
9.8
CVE-2020-1938
Apache Tomcat Improper Privilege Management Vulnerability
9.8
CVE-2016-8735
Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x before 9.0.0.M12 if…
8.1
CVE-2017-12617
When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g
8.1
CVE-2017-12615
When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g
