{"id":"CVE-2021-30640","aliases":["BIT-tomcat-2021-30640","GHSA-36qh-35cm-5w2w"],"url":"https://o3.security/vulnerability/CVE-2021-30640","summary":"Authentication Bypass by Alternate Name in Apache Tomcat","details":"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.","published":"2021-07-12T15:15:08.367Z","modified":"2026-07-08T05:57:03.757905312Z","cvss":{"score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat","fixedVersion":"10.0.5"},{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat","fixedVersion":"9.0.45"},{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat","fixedVersion":"8.5.65"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00009.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202208-34"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210827-0007/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4952"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4986"},{"type":"ADVISORY","url":"https://www.oracle.com//security-alerts/cpujul2021.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T05:57:03.757905312Z"}}