CVE-2021-30640
Auth weakness in JNDIRealm
- Published
- Updated
- Reserved
- Assigned by
- apache
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.
Timeline
ID reserved
By apache
- 3 months later
· 3 months later
Published
- 5 years later
· 5 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
- EPSS (exploitation in 30 days)
- 9.9% · top 4.4% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
- Authentication weaknees
- CWE-116 (opens in a new tab)All about CWE-116 and its CVEs
Affected products
Apache Software Foundation · Apache Tomcat
- affected Apache Tomcat 10 10.0.0-M1 to 10.0.5
- affected Apache Tomcat 9 9.0.0.M1 to 9.0.45
- affected Apache Tomcat 8.5 8.5.0 to 8.5.65
- affected Apache Tomcat 7 7.0.0 to 7.0.108
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.tomcat:tomcatGHSA-36qh-35cm-5w2w (opens in a new tab)
References (9)
- https://lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E (opens in a new tab)x_refsource_MISCx_transferred
- https://www.oracle.com//security-alerts/cpujul2021.html (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20210805 [SECURITY] [DLA 2733-1] tomcat8 security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-4952 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- DSA-4986 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://www.oracle.com/security-alerts/cpuoct2021.html (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20210827-0007/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/security-alerts/cpujan2022.html (opens in a new tab)x_refsource_MISCx_transferred
- GLSA-202208-34 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-36qh-35cm-5w2w (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-30640)Record last updated .