CVE-2021-30640
MEDIUM 6.5CVSS 3.1Authentication Bypass by Alternate Name in Apache Tomcat
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
- 12 Jul 2021
- Last modified
- 8 Oct 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-116CWE-287CWE-289
- Also known as
- BIT-tomcat-2021-30640GHSA-36qh-35cm-5w2w
- Sources
- NVDJSONOSV GHSA-36qh-35cm-5w2wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 7.0.0, < 7.0.109 | 7.0.109 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 8.5.0, < 8.5.66 | 8.5.66 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.0.46 | 9.0.46 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 10.0.0, < 10.0.6 | 10.0.6 |
| NVD | oracle | communications_cloud_native_core_policycpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:* |
= 1.14.0 | |
| NVD | oracle | communications_diameter_signaling_routercpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:* |
>= 8.0.0, <= 8.5.0 | |
| NVD | oracle | communications_pricing_design_centercpe:2.3:a:oracle:communications_pricing_design_center:12.0.0.3.0:*:*:*:*:*:*:* |
= 12.0.0.3.0 | |
| NVD | oracle | hospitality_cruise_shipboard_property_management_systemcpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:* |
= 20.1.0 | |
| NVD | oracle | tekelec_platform_distributioncpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:* |
>= 7.4.0, <= 7.7.1 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | Maven | org.apache.tomcat:tomcat | >= 10.0.0-M1, < 10.0.5 | 10.0.5 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 9.0.0M1, < 9.0.45 | 9.0.45 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 8.5.0, < 8.5.65 | 8.5.65 |
References
- https://lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E · Mailing List, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/08/msg00009.html · Mailing List, Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202208-34 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210827-0007/ · Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-4952 · Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-4986 · Third Party Advisory, WEB
- https://www.oracle.com//security-alerts/cpujul2021.html · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujan2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuoct2021.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-30640 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 12 Jul 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Aug 2021)