6.5

CVE-2021-30640: Auth weakness in JNDIRealm

Modified
AliasesUBUNTU-CVE-2021-30640DEBIAN-CVE-2021-30640GHSA-36qh-35cm-5w2w
Published 12-07-2021Last modified 08-10-2026

Vulnerability summary

CVE-2021-30640 is a medium (CVSS 6.5) Improper Encoding or Escaping of Output vulnerability in apache software foundation apache tomcat. EPSS estimates a 9.89% chance of exploitation in the next 30 days, higher than 95.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
9.89%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 10

Timeline

  1. 12-07-2021
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

9.89%

Chance of exploitation in the next 30 days

Percentile

96%

Versus all other CVEs

30-day change

No change 0.00 pp

From 9.89% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Oracle5 products
Ubuntu4 products
  • tomcat6All versions (No fix recorded)
  • tomcat7All versions (No fix recorded)
  • tomcat8All versions (No fix recorded)
  • tomcat9< 9.0.16-3ubuntu0.18.04.2 | < 9.0.31-1ubuntu0.2
Debian2 products
Apache1 product
  • tomcat≥ 7.0.0, < 7.0.109 | ≥ 8.5.0, < 8.5.66 | ≥ 9.0.0, < 9.0.46 | ≥ 10.0.0, < 10.0.6
Apache software foundation1 product
  • apache tomcatApache 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
Org.apache.tomcat1 product
  • tomcat≥ 10.0.0-M1, < 10.0.5 | ≥ 9.0.0M1, < 9.0.45 | ≥ 8.5.0, < 8.5.65

6 vendors · 14 products

References

32 links
Show all 32 references