CVE-2021-30640

Auth weakness in JNDIRealm

MEDIUM
6.5
CVSS Score
Published: July 12, 2021 at 02:55 PM UTC
Updated: October 8, 2026 at 09:17 PM UTC
7 products affected across 3 vendorsDebian LinuxTomcatCommunications Cloud Native Core Policy

Using Apache Tomcat by Apache Software Foundation?

Get instant alerts when new vulnerabilities affect Apache Tomcat - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 10%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

10.0.0 ≤ v < 10.0.67.0.0 ≤ v < 7.0.1098.5.0 ≤ v < 8.5.669.0.0 ≤ v < 9.0.46*Apache Tomcat 10 10.0.0-M1 to 10.0.5Apache Tomcat 7 7.0.0 to 7.0.108Apache Tomcat 8.5 8.5.0 to 8.5.65Apache Tomcat 9 9.0.0.M1 to 9.0.45
Affected range stops below 10.0.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.0.109, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.5.66, so it looks safe — our inference, not a vendor statement
Affected range stops below 9.0.46, so it looks safe — our inference, not a vendor statement

References (9)

Mailing Listx_refsource_MLISTThird Party Advisory
https://lists.debian.org/debian-lts-announce/2021/08/msg00009.html
Vendor Advisoryx_refsource_GENTOOThird Party Advisory
https://security.gentoo.org/glsa/202208-34
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2021/dsa-4952
Vendor Advisoryx_refsource_DEBIANThird Party Advisory
https://www.debian.org/security/2021/dsa-4986
x_refsource_MISCPatchThird Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-116

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card