WaratekVRT Sign in

CVE-2021-30640 Apache Tomcat

Affected softwareApache Tomcat
Severity6.5 Medium CVSS 3.1 2 scores
Fixed in10.0.5, 9.0.45, 8.5.65
WeaknessImproper authentication (CWE-287)
Published12 Jul 2021
Updated8 Oct 2026

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.

CWE-116CWE-289

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 9.9% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

CVSS

6.5 MEDIUM v3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.5 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N NVD Primary published
CVSS 2.0 5.8 none AV:N/AC:M/Au:N/C:P/I:P/A:N NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2025 ↗ CPU 2025-Q2 Oracle Autonomous Health Framework / Trace File Analyzer (Apache Tomcat) (23.8.0-23.11.0, 24.1.0-24.11.0, 25.1.0, 25.2.0)
Oracle Critical Patch Update October 2021 ↗ CPU 2021-Q4 Oracle Communications / Console (Apache Tomcat) (7.4.0-7.7.1)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Autonomous Health Framework Trace File Analyzer (Apache Tomcat) 23.8.0-23.11.0, 24.1.0-24.11.0, 25.1.0, 25.2.0 25.1.0 · 25.2.0
Oracle Communications Console (Apache Tomcat) 7.4.0-7.7.1

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.tomcat:tomcat 10.0.0-M1 10.0.5 unbounded
org.apache.tomcat:tomcat 9.0.0M1 9.0.45 unbounded
org.apache.tomcat:tomcat 8.5.0 8.5.65 unbounded

Products and versions

8 products, 15 version entries
SourceVendorProductSchemeAffected versions
nvd apache tomcat generic ≥ 7.0.0 and < 7.0.109 · ≥ 8.5.0 and < 8.5.66 · ≥ 9.0.0 and < 9.0.46 · ≥ 10.0.0 and < 10.0.6
nvd debian debian linux generic 9.0 · 10.0 · 11.0
nvd oracle communications cloud native core policy generic 1.14.0
nvd oracle communications diameter signaling router generic ≥ 8.0.0 and ≤ 8.5.0
nvd oracle communications pricing design center generic 12.0.0.3.0
nvd oracle hospitality cruise shipboard property management system generic 20.1.0
nvd oracle tekelec platform distribution generic ≥ 7.4.0 and ≤ 7.7.1
osv org.apache.tomcat tomcat generic ≥ 8.5.0 and < 8.5.65 · ≥ 9.0.0.1 and < 9.0.45 · ≥ 10.0.0 and < 10.0.5

References

URLTags
https://lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E WEB
https://lists.debian.org/debian-lts-announce/2021/08/msg00009.html WEB
https://security.gentoo.org/glsa/202208-34 WEB
https://security.netapp.com/advisory/ntap-20210827-0007 WEB
https://www.debian.org/security/2021/dsa-4952 WEB
https://www.debian.org/security/2021/dsa-4986 WEB
https://www.oracle.com//security-alerts/cpujul2021.html WEB
https://www.oracle.com/security-alerts/cpujan2022.html WEB
https://www.oracle.com/security-alerts/cpuoct2021.html WEB
https://security.netapp.com/advisory/ntap-20210827-0007/ Third Party Advisory

Timeline

Published2021-07-12By the CVE Program.
NVD record modified2026-10-08NVD's own last-modified date for this record.