CVE-2021-30640Apache Tomcat
Medium 6.5 No auth needed
Follow: this CVE · Apache · Apache Tomcat We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Tomcat.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| apache | tomcat | ≥ 7.0.0 < 7.0.109 |
| apache | tomcat | ≥ 8.5.0 < 8.5.66 |
| apache | tomcat | ≥ 9.0.0 < 9.0.46 |
| apache | tomcat | ≥ 10.0.0 < 10.0.6 |
| oracle | communications_cloud_native_core_policy | 1.14.0 |
| oracle | communications_diameter_signaling_router | ≥ 8.0.0 ≤ 8.5.0 |
| oracle | communications_pricing_design_center | 12.0.0.3.0 |
| oracle | hospitality_cruise_shipboard_property_management_system | 20.1.0 |
| oracle | tekelec_platform_distribution | ≥ 7.4.0 ≤ 7.7.1 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
Official advisories
- Security update for tomcat · SUSE · SUSE-SU-2026:1058-1 · Mar 26, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.oracle.com Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory