CVE-2021-30640

MEDIUM CVSS 3.1: 6.5 EPSS 9.89%
Updated Oct 09, 2026
Apache
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions 10.0.0 — 9.0.46
Fixed In 7.0.109
Type CWE-116 (Improper Encoding or Escaping of Output)
Vendor Apache
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 12

Configuration From (including) Up to (excluding)
Apache Tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
7.0.0 7.0.109
Apache Tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
8.5.0 8.5.66
Apache Tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
9.0.0 9.0.46
Apache Tomcat
cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*
10.0.0 10.0.6
Oracle Communications_Cloud_Native_Core_Policy
cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*
— —
Oracle Communications_Diameter_Signaling_Router
cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*
8.0.0 <= 8.5.0
Oracle Communications_Pricing_Design_Center
cpe:2.3:a:oracle:communications_pricing_design_center:12.0.0.3.0:*:*:*:*:*:*:*
— —
Oracle Hospitality_Cruise_Shipboard_Property_Management_System
cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:*
— —
Oracle Tekelec_Platform_Distribution
cpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:*
7.4.0 <= 7.7.1
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
— —
Debian Debian_Linux
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
— —