{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-30640","id":"CVE-2021-30640","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.","descriptionLong":"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-12T14:55:13.000Z","updated":"2026-10-24T10:30:24.928278997Z","reserved":"2021-04-13T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Apache Software Foundation Apache Tomcat"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Tomcat","defaultStatus":null,"versions":[{"status":"affected","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"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.tomcat:tomcat","purl":"pkg:maven/org.apache.tomcat/tomcat","ranges":[">=10.0.0-M1 <10.0.5",">=9.0.0M1 <9.0.45",">=8.5.0 <8.5.65"],"fixed":["10.0.5","9.0.45","8.5.65"],"advisory":"GHSA-36qh-35cm-5w2w"}],"cwes":["CWE-116","CWE-287","CWE-289"],"aliases":["BIT-tomcat-2021-30640","GHSA-36qh-35cm-5w2w"],"references":[{"url":"https://lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E","tags":["x_refsource_MISC","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00009.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://www.debian.org/security/2021/dsa-4952","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.debian.org/security/2021/dsa-4986","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://security.netapp.com/advisory/ntap-20210827-0007/","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://security.gentoo.org/glsa/202208-34","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30640","tags":["advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210827-0007","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.09886,"epssPercentile":0.95672,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-30640","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-30640","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-30640","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-36qh-35cm-5w2w","ok":true,"note":"GHSA-36qh-35cm-5w2w"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-30640","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["tomcat"],"critical":[],"attention":null}