{"id":"CVE-2021-30640","revision":"e074da5b5dbc4c1696075d0ba38fedc9","records":[{"revision":"e074da5b5dbc4c1696075d0ba38fedc9","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-30640","aliases":[],"title":"Auth weakness in JNDIRealm","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.","state":0,"publishedAt":"2021-07-12T14:55:13+00:00","modifiedAt":"2026-10-08T21:03:16.938+00:00","affected":[{"ecosystem":"Vendor product","name":"Apache Tomcat","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Apache Tomcat\",\n                    \"vendor\": \"Apache Software Foundation\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"Apache Tomcat 10 10.0.0-M1 to 10.0.5\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"Apache Tomcat 9 9.0.0.M1 to 9.0.45\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"Apache Tomcat 8.5 8.5.0 to 8.5.65\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"Apache Tomcat 7 7.0.0 to 7.0.108\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E","https://www.oracle.com//security-alerts/cpujul2021.html","https://lists.debian.org/debian-lts-announce/2021/08/msg00009.html","https://www.debian.org/security/2021/dsa-4952","https://www.debian.org/security/2021/dsa-4986","https://www.oracle.com/security-alerts/cpuoct2021.html","https://security.netapp.com/advisory/ntap-20210827-0007/","https://www.oracle.com/security-alerts/cpujan2022.html","https://security.gentoo.org/glsa/202208-34"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-30640","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-30640","identifiers":["CVE-2021-30640"]},"retained":false,"historicalAffected":[]}],"coverage":[]}