
CVE catalog
CVE-2021-30640
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
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 9.89% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | tomcat9 | sid | 9.0.122-1 | fixed |
| Debian | tomcat9 | forky | 9.0.122-1 | fixed |
| Debian | tomcat9 | trixie | 9.0.95-1 | fixed |
| Debian | tomcat9 | bookworm | 9.0.70-2 | fixed |
| Cpe | tomcat | Not reported | 7.0.109 | fixed |
| Cpe | tomcat | Not reported | 8.5.66 | fixed |
| Cpe | tomcat | Not reported | 9.0.46 | fixed |
| Cpe | tomcat | Not reported | 10.0.6 | fixed |
| Cpe | communications_cloud_native_core_policy | Not reported | Not reported | unknown |
| Cpe | communications_diameter_signaling_router | Not reported | Not reported | unknown |
| Cpe | communications_pricing_design_center | Not reported | Not reported | unknown |
| Cpe | hospitality_cruise_shipboard_property_management_system | Not reported | Not reported | unknown |
| Cpe | tekelec_platform_distribution | Not reported | Not reported | unknown |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Cpe | debian_linux | Not reported | Not reported | unknown |
| Ubuntu | tomcat6 | pro | 6.0.37-1 | vulnerable |
| Ubuntu | tomcat6 | pro | 6.0.39-1 | vulnerable |
| Ubuntu | tomcat6 | pro | 6.0.39-1ubuntu0.1 | vulnerable |
| Ubuntu | tomcat6 | pro | 6.0.39-1ubuntu0.1+esm1 | vulnerable |
| Ubuntu | tomcat6 | pro | 6.0.39-1ubuntu0.1+esm2 | vulnerable |
| Ubuntu | tomcat6 | pro | 6.0.39-1ubuntu0.1+esm3 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.64-1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.3 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm1 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm2 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm3 | vulnerable |
| Ubuntu | tomcat7 | pro | 7.0.68-1ubuntu0.4+esm4 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.21-1ubuntu1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.29-1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.30-1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.30-1ubuntu1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.30-1ubuntu1.2 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.30-1ubuntu1.3 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.30-1ubuntu1.4 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.2 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm1 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm2 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm3 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm4 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm5 | vulnerable |
| Ubuntu | tomcat8 | pro | 8.5.39-1ubuntu1~18.04.3+esm6 | vulnerable |
| Ubuntu | tomcat9 | 18.04 | 9.0.16-3~18.04.1 | vulnerable |
| Ubuntu | tomcat9 | 18.04 | 9.0.16-3ubuntu0.18.04.1 | vulnerable |
| Ubuntu | tomcat9 | 18.04 | 9.0.16-3ubuntu0.18.04.2 | fixed |
| Ubuntu | tomcat9 | 20.04 | 9.0.24-1 | vulnerable |
| Ubuntu | tomcat9 | 20.04 | 9.0.27-1 | vulnerable |
| Ubuntu | tomcat9 | 20.04 | 9.0.31-1 | vulnerable |
| Ubuntu | tomcat9 | 20.04 | 9.0.31-1ubuntu0.1 | vulnerable |
| Ubuntu | tomcat9 | 20.04 | 9.0.31-1ubuntu0.2 | fixed |
| Suse | javapackages-tools | openstack cloud 9 | 2.0.1-13.1 | fixed |
| Suse | tomcat | openstack cloud 9 | 9.0.36-3.71.1 | fixed |
| Suse | javapackages-tools | openstack cloud crowbar 9 | 2.0.1-13.1 | fixed |
| Suse | tomcat | openstack cloud crowbar 9 | 9.0.36-3.71.1 | fixed |
| Suse | javapackages-tools | linux enterprise server for sap applications 12 sp4 | 2.0.1-13.1 | fixed |
| Suse | tomcat | linux enterprise server for sap applications 12 sp4 | 9.0.36-3.71.1 | fixed |
| Suse | javapackages-tools | linux enterprise server 12 sp4-ltss | 2.0.1-13.1 | fixed |
| Suse | tomcat | linux enterprise server 12 sp4-ltss | 9.0.36-3.71.1 | fixed |
| Suse | javapackages-tools | linux enterprise server 12 sp5 | 2.0.1-13.1 | fixed |
| Suse | tomcat | linux enterprise server 12 sp5 | 9.0.36-3.71.1 | fixed |
| Suse | javapackages-tools | linux enterprise server for sap applications 12 sp5 | 2.0.1-13.1 | fixed |
| Suse | tomcat | linux enterprise server for sap applications 12 sp5 | 9.0.36-3.71.1 | fixed |
| Opensuse | tomcat | leap 15.2 | 9.0.36-lp152.2.25.1 | fixed |
| Opensuse | tomcat | leap 15.3 | 9.0.36-13.1 | fixed |
| Opensuse | tomcat | tumbleweed | 9.0.43-2.1 | fixed |
| Suse | tomcat | linux enterprise high performance computing 15-espos | 9.0.36-3.84.1 | fixed |
| Suse | tomcat | linux enterprise high performance computing 15-ltss | 9.0.36-3.84.1 | fixed |
| Suse | tomcat | linux enterprise server 15-ltss | 9.0.36-3.84.1 | fixed |
| Suse | tomcat | linux enterprise server for sap applications 15 | 9.0.36-3.84.1 | fixed |
| Suse | tomcat | linux enterprise high performance computing 15 sp1-espos | 9.0.36-4.63.1 | fixed |
| Suse | tomcat | linux enterprise high performance computing 15 sp1-ltss | 9.0.36-4.63.1 | fixed |
| Suse | tomcat | linux enterprise server 15 sp1-bcl | 9.0.36-4.63.1 | fixed |
| Suse | tomcat | linux enterprise server 15 sp1-ltss | 9.0.36-4.63.1 | fixed |
| Suse | tomcat | linux enterprise server for sap applications 15 sp1 | 9.0.36-4.63.1 | fixed |
| Suse | tomcat | enterprise storage 6 | 9.0.36-4.63.1 | fixed |
| Suse | tomcat | linux enterprise module for web and scripting 15 sp2 | 9.0.36-13.1 | fixed |
| Suse | tomcat | linux enterprise module for web and scripting 15 sp3 | 9.0.36-13.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | tomcat9 | source | sid | 9.0.43-2 | not yet assigned | Not reported | [991046] |
| Debian | tomcat9 | source | forky | 9.0.43-2 | not yet assigned | Not reported | [991046] |
| Debian | tomcat9 | source | trixie | 9.0.43-2 | not yet assigned | Not reported | [991046] |
| Debian | tomcat9 | source | bookworm | 9.0.43-2 | not yet assigned | Not reported | [991046] |
| Cpe | tomcat | cpe | Not reported | 7.0.109 | Not reported | NVD-CVE-2021-30640 | Not reported |
| Cpe | tomcat | cpe | Not reported | 8.5.66 | Not reported | NVD-CVE-2021-30640 | Not reported |
| Cpe | tomcat | cpe | Not reported | 9.0.46 | Not reported | NVD-CVE-2021-30640 | Not reported |
| Cpe | tomcat | cpe | Not reported | 10.0.6 | Not reported | NVD-CVE-2021-30640 | Not reported |
| Ubuntu | tomcat9 | deb | 18.04 | 9.0.16-3ubuntu0.18.04.2 | Not reported | UBUNTU-CVE-2021-30640 | Not reported |
| Ubuntu | tomcat9 | deb | 20.04 | 9.0.31-1ubuntu0.2 | Not reported | UBUNTU-CVE-2021-30640 | Not reported |
| Suse | javapackages-tools | rpm | openstack cloud 9 | 2.0.1-13.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Suse | tomcat | rpm | openstack cloud 9 | 9.0.36-3.71.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Suse | javapackages-tools | rpm | openstack cloud crowbar 9 | 2.0.1-13.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Suse | tomcat | rpm | openstack cloud crowbar 9 | 9.0.36-3.71.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Suse | javapackages-tools | rpm | linux enterprise server for sap applications 12 sp4 | 2.0.1-13.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server for sap applications 12 sp4 | 9.0.36-3.71.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Suse | javapackages-tools | rpm | linux enterprise server 12 sp4-ltss | 2.0.1-13.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server 12 sp4-ltss | 9.0.36-3.71.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Suse | javapackages-tools | rpm | linux enterprise server 12 sp5 | 2.0.1-13.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server 12 sp5 | 9.0.36-3.71.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Suse | javapackages-tools | rpm | linux enterprise server for sap applications 12 sp5 | 2.0.1-13.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server for sap applications 12 sp5 | 9.0.36-3.71.1 | Not reported | SUSE-SU-2021:3602-1 | Not reported |
| Opensuse | tomcat | rpm | leap 15.2 | 9.0.36-lp152.2.25.1 | Not reported | OPENSUSE-SU-2021:1490-1 | Not reported |
| Opensuse | tomcat | rpm | leap 15.3 | 9.0.36-13.1 | Not reported | OPENSUSE-SU-2021:3672-1 | Not reported |
| Opensuse | tomcat | rpm | tumbleweed | 9.0.43-2.1 | Not reported | OPENSUSE-SU-2024:11618-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise high performance computing 15-espos | 9.0.36-3.84.1 | Not reported | SUSE-SU-2021:3670-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise high performance computing 15-ltss | 9.0.36-3.84.1 | Not reported | SUSE-SU-2021:3670-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server 15-ltss | 9.0.36-3.84.1 | Not reported | SUSE-SU-2021:3670-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server for sap applications 15 | 9.0.36-3.84.1 | Not reported | SUSE-SU-2021:3670-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise high performance computing 15 sp1-espos | 9.0.36-4.63.1 | Not reported | SUSE-SU-2021:3669-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise high performance computing 15 sp1-ltss | 9.0.36-4.63.1 | Not reported | SUSE-SU-2021:3669-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server 15 sp1-bcl | 9.0.36-4.63.1 | Not reported | SUSE-SU-2021:3669-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server 15 sp1-ltss | 9.0.36-4.63.1 | Not reported | SUSE-SU-2021:3669-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise server for sap applications 15 sp1 | 9.0.36-4.63.1 | Not reported | SUSE-SU-2021:3669-1 | Not reported |
| Suse | tomcat | rpm | enterprise storage 6 | 9.0.36-4.63.1 | Not reported | SUSE-SU-2021:3669-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise module for web and scripting 15 sp2 | 9.0.36-13.1 | Not reported | SUSE-SU-2021:3672-1 | Not reported |
| Suse | tomcat | rpm | linux enterprise module for web and scripting 15 sp3 | 9.0.36-13.1 | Not reported | SUSE-SU-2021:3672-1 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [tomcat-admin-webapps]Unknown
Source package: [tomcat]
Details (1)
9.0.120-2.1· noarch · tumbleweedUnknown · Fixed:
9.0.43-2.1Version impact unknown
nvd · tomcat · opensuse · tumbleweed
- [tomcat-docs-webapp]Unknown
Source package: [tomcat]
Details (1)
9.0.120-2.1· noarch · tumbleweedUnknown · Fixed:
9.0.43-2.1Version impact unknown
nvd · tomcat · opensuse · tumbleweed
- [tomcat-el-3_0-api]Unknown
Source package: [tomcat]
Details (1)
9.0.120-2.1· noarch · tumbleweedUnknown · Fixed:
9.0.43-2.1Version impact unknown
nvd · tomcat · opensuse · tumbleweed
- [tomcat-embed]Unknown
Source package: [tomcat]
Details (1)
9.0.120-2.1· noarch · tumbleweedUnknown · Fixed:
9.0.43-2.1Version impact unknown
nvd · tomcat · opensuse · tumbleweed
- [tomcat-javadoc]Unknown
Source package: [tomcat]
Details (1)
9.0.120-2.1· noarch · tumbleweedUnknown · Fixed:
9.0.43-2.1Version impact unknown
nvd · tomcat · opensuse · tumbleweed
- [tomcat-jsp-2_3-api]Unknown
Source package: [tomcat]
Details (1)
9.0.120-2.1· noarch · tumbleweedUnknown · Fixed:
9.0.43-2.1Version impact unknown
nvd · tomcat · opensuse · tumbleweed
- [tomcat-jsvc]Unknown
Source package: [tomcat]
Details (1)
9.0.120-2.1· noarch · tumbleweedUnknown · Fixed:
9.0.43-2.1Version impact unknown
nvd · tomcat · opensuse · tumbleweed
- [tomcat-lib]Unknown
Source package: [tomcat]
Details (1)
9.0.120-2.1· noarch · tumbleweedUnknown · Fixed:
9.0.43-2.1Version impact unknown
nvd · tomcat · opensuse · tumbleweed
- [tomcat-servlet-4_0-api]Unknown
Source package: [tomcat]
Details (1)
9.0.120-2.1· noarch · tumbleweedUnknown · Fixed:
9.0.43-2.1Version impact unknown
nvd · tomcat · opensuse · tumbleweed
- [tomcat-webapps]Unknown
Source package: [tomcat]
Details (1)
9.0.120-2.1· noarch · tumbleweedUnknown · Fixed:
9.0.43-2.1Version impact unknown
nvd · tomcat · opensuse · tumbleweed
- [tomcat]Fixed
Source package: [tomcat]
Details (1)
9.0.120-2.1· noarch · tumbleweedFixed · Fixed:
9.0.43-2.1nvd · tomcat · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [libtomcat9-java]Fixed
Source package: [tomcat9]
Details (2)
9.0.70-2· all · bookwormFixed · Fixed:
9.0.43-2nvd · tomcat9 · debian · bookworm; nvd · tomcat9 · debian · 12
9.0.70-2· all · bookwormFixed · Fixed:
9.0.43-2nvd · tomcat9 · debian · bookworm; nvd · tomcat9 · debian · 12
[Debian 13 (Trixie)]
- [libtomcat9-java]Fixed
Source package: [tomcat9]
Details (2)
9.0.95-1· all · trixieFixed · Fixed:
9.0.43-2nvd · tomcat9 · debian · 13
9.0.95-1· all · trixieFixed · Fixed:
9.0.43-2nvd · tomcat9 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2021_3602-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2021-30640]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-30640]
- [https://osv.dev/vulnerability/DLA-2733-1]
- [https://osv.dev/vulnerability/DSA-4952-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3602-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3669-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3670-1]
- [https://osv.dev/vulnerability/SUSE-SU-2021:3672-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-30640]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:1490-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2021:3672-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11618-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-30640]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-30640.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-1116.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]