Live threats

All CVEs / Apache

CVE-2021-30640Apache Tomcat

Medium 6.5 No auth needed

Priority
55
CVSS 3.1
6.5
EPSS
9.3%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Jul 12, 2021
Updated
Oct 8, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-116
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tomcat.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.apache.tomcat:tomcat ≥ 10.0.0-M1 < 10.0.5 10.0.5 —
Maven org.apache.tomcat:tomcat ≥ 9.0.0M1 < 9.0.45 9.0.45 —
Maven org.apache.tomcat:tomcat ≥ 8.5.0 < 8.5.65 8.5.65 —

Per OSV / GitHub Advisories (GHSA-36qh-35cm-5w2w). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
apachetomcat≥ 7.0.0 < 7.0.109
apachetomcat≥ 8.5.0 < 8.5.66
apachetomcat≥ 9.0.0 < 9.0.46
apachetomcat≥ 10.0.0 < 10.0.6
oraclecommunications_cloud_native_core_policy1.14.0
oraclecommunications_diameter_signaling_router≥ 8.0.0 ≤ 8.5.0
oraclecommunications_pricing_design_center12.0.0.3.0
oraclehospitality_cruise_shipboard_property_management_system20.1.0
oracletekelec_platform_distribution≥ 7.4.0 ≤ 7.7.1
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.