Original 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.
Affected software
- Tomcat ≥ 8.5.0 < 8.5.66≥ 9.0.0 < 9.0.46≥ 10.0.0 < 10.0.6≥ 7.0.0 < 7.0.109 Fixed in: 8.5.66, 9.0.46, 10.0.6, 7.0.109 exact match
Details
- Published
- 2021-07-12
- Last modified
- 2026-10-09
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N- EPSS (30-day exploit probability)
- 9.89% (percentile 96)
References
- cve.org/CVE-2021-30640
- nvd.nist.gov/vuln/detail/CVE-2021-30640
- lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%...
- www.oracle.com//security-alerts/cpujul2021.html
- lists.debian.org/debian-lts-announce/2021/08/msg00009.html
- www.debian.org/security/2021/dsa-4952
- www.debian.org/security/2021/dsa-4986
- www.oracle.com/security-alerts/cpuoct2021.html
- security.netapp.com/advisory/ntap-20210827-0007/
- www.oracle.com/security-alerts/cpujan2022.html
- security.gentoo.org/glsa/202208-34
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.