Vulnerability · Published Jul 12, 2021 · Assigned by apache
CVE-2021-30640Auth weakness in JNDIRealm
Medium 6.5
In plain English
A medium-severity security flaw in Apache Tomcat from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 9.9% (higher than 96% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)9.9%top 4.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tomcat9 | 9.0.43-2 | DEBIAN-CVE-2021-30640 |
| Debian:13 | tomcat9 | 9.0.43-2 | DEBIAN-CVE-2021-30640 |
| Debian:14 | tomcat9 | 9.0.43-2 | DEBIAN-CVE-2021-30640 |
| Maven | org.apache.tomcat:tomcat | 10.0.5 | GHSA-36qh-35cm-5w2w |
| Maven | org.apache.tomcat:tomcat | 9.0.45 | GHSA-36qh-35cm-5w2w |
| Maven | org.apache.tomcat:tomcat | 8.5.65 | GHSA-36qh-35cm-5w2w |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | Apache Tomcat 10 10.0.0-M1 to 10.0.5Apache Tomcat 9 9.0.0.M1 to 9.0.45Apache Tomcat 8.5 8.5.0 to 8.5.65Apache Tomcat 7 7.0.0 to 7.0.108 |
References
- https://lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E x_refsource_MISC
- https://www.oracle.com//security-alerts/cpujul2021.html x_refsource_MISC
- [debian-lts-announce] 20210805 [SECURITY] [DLA 2733-1] tomcat8 security update mailing-list, x_refsource_MLIST
- DSA-4952 vendor-advisory, x_refsource_DEBIAN
- DSA-4986 vendor-advisory, x_refsource_DEBIAN
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210827-0007/ x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- GLSA-202208-34 vendor-advisory, x_refsource_GENTOO