{"id":"CVE-2021-30640","aliases":["CVE-2021-30640","GHSA-36qh-35cm-5w2w","BIT-TOMCAT-2021-30640"],"related":[],"kind":"vulnerability","state":"published","title":"Auth weakness in JNDIRealm","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en el ámbito JNDI de Apache Tomcat permite a un atacante autenticarse usando variaciones de un nombre de usuario válido y/o omitir parte de la protección proporcionada por el ámbito LockOut. Este problema afecta a Apache Tomcat versiones 10.0.0-M1 hasta 10.0.5; versiones 9.0.0.M1 hasta 9.0.45; versiones 8.5.0 hasta 8.5.65","source":"nvd"},{"lang":"en","text":"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 to 10.0.5; 9.0.0 to 9.0.45; 8.5.0 to 8.5.65.","format":"markdown","source":"bitnami"}],"published":"2021-07-12T14:55:13.000Z","modified":"2026-10-08T21:17:35.173Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","score":5.8,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-116","CWE-287","CWE-289"],"affected":[{"ranges":[{"version":"Apache Tomcat 10 10.0.0-M1 to 10.0.5","status":"affected"},{"version":"Apache Tomcat 9 9.0.0.M1 to 9.0.45","status":"affected"},{"version":"Apache Tomcat 8.5 8.5.0 to 8.5.65","status":"affected"},{"version":"Apache Tomcat 7 7.0.0 to 7.0.108","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Tomcat","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"10.0.0-M1","status":"affected","fixed":"10.0.5"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"9.0.0M1","status":"affected","fixed":"9.0.45"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.5.0","status":"affected","fixed":"8.5.65"}],"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"7.0.0","fixed":"7.0.109"},{"status":"affected","introduced":"8.5.0","fixed":"8.5.66"},{"status":"affected","introduced":"9.0.0","fixed":"9.0.46"},{"status":"affected","introduced":"10.0.0","fixed":"10.0.6"}],"vendor":"apache","product":"tomcat","cpe":"cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"1.14.0"}],"vendor":"oracle","product":"communications_cloud_native_core_policy","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"8.0.0","lastAffected":"8.5.0"}],"vendor":"oracle","product":"communications_diameter_signaling_router","cpe":"cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.0.0.3.0"}],"vendor":"oracle","product":"communications_pricing_design_center","cpe":"cpe:2.3:a:oracle:communications_pricing_design_center:12.0.0.3.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"20.1.0"}],"vendor":"oracle","product":"hospitality_cruise_shipboard_property_management_system","cpe":"cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"7.4.0","lastAffected":"7.7.1"}],"vendor":"oracle","product":"tekelec_platform_distribution","cpe":"cpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"7.0.0","status":"affected","fixed":"7.0.109"},{"type":"semver","introduced":"8.5.0","status":"affected","fixed":"8.5.66"},{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.0.46"},{"type":"semver","introduced":"10.0.0","status":"affected","fixed":"10.0.6"}],"ecosystem":"Bitnami","package":"tomcat","purl":"pkg:bitnami/tomcat","source":"bitnami"}],"references":[{"url":"https://lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E","tags":["advisory","mailing-list","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00009.html","tags":["advisory","mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.debian.org/security/2021/dsa-4952","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.debian.org/security/2021/dsa-4986","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20210827-0007/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://security.gentoo.org/glsa/202208-34","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-gentoo","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30640","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20210827-0007","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-08T20:56:22.590Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-30640","url":"https://www.cve.org/CVERecord?id=CVE-2021-30640","licence":"CVE Terms of Use","modified":"2026-10-08T21:03:16.938Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-36qh-35cm-5w2w","url":"https://github.com/advisories/GHSA-36qh-35cm-5w2w","licence":"CC-BY-4.0","modified":"2024-02-19T05:31:52.360Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-30640","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30640","licence":"Public domain","modified":"2026-10-08T21:17:35.173Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-TOMCAT-2021-30640","url":"https://osv.dev/vulnerability/BIT-TOMCAT-2021-30640","licence":"Apache-2.0","modified":"2026-09-08T08:48:20.942Z"}],"updatedAt":"2026-11-25T22:58:02.513Z","epss":{"score":0.09333,"percentile":0.95491,"date":"2026-12-01T12:00:22.000Z"}}