Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-30640
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:08 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-30640
Complete source record
{
"id": "e7ab5be8c322274c13d914131807f3852035d3f729c477c112505157a10d5a1a",
"url": "https://osv.dev/vulnerability/CVE-2021-30640",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-30640",
"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.",
"evidence": "osv:CVE-2021-30640",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-30640",
"aliases": [
"BIT-tomcat-2021-30640",
"CVE-2021-30640",
"GHSA-36qh-35cm-5w2w"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/tomcat",
"type": "GIT",
"events": [
{
"introduced": "e498667bd7811e846771a852b16ce9f1e524b81b"
},
{
"fixed": "2cdef2c0241cdf70b5edd88d3733a52e6b675047"
},
{
"introduced": "e37b977db6f47e4380ad67114a49e8568951c953"
},
{
"fixed": "12afa2cd11ffa9522cd98acc228ecb1bad6b8006"
},
{
"introduced": "16bf392c67833ad549733b58c350ff92b5ee782a"
},
{
"fixed": "37ae42a2996911b9ba6b88e7b0828f855b9d38f6"
},
{
"introduced": "4c8b650437e2464c1c31c6598a263b3805b7a81f"
},
{
"fixed": "f725f57f195de035a5cbc6602a1f7a3ad43ee5b5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.0.0"
},
{
"fixed": "7.0.109"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "8.5.0"
},
{
"fixed": "8.5.66"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "9.0.0"
},
{
"fixed": "9.0.46"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "10.0.0"
},
{
"fixed": "10.0.6"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30640.json"
}
}
],
"modified": "2026-10-24T10:30:24.928278997Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E",
"https://lists.debian.org/debian-lts-announce/2021/08/msg00009.html",
"https://security.gentoo.org/glsa/202208-34",
"https://security.netapp.com/advisory/ntap-20210827-0007/",
"https://www.debian.org/security/2021/dsa-4952",
"https://www.debian.org/security/2021/dsa-4986",
"https://www.oracle.com//security-alerts/cpujul2021.html",
"https://www.oracle.com/security-alerts/cpujan2022.html",
"https://www.oracle.com/security-alerts/cpuoct2021.html"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_diameter_signaling_router",
"extracted_events": [
{
"range": [
{
"introduced": "8.0.0"
},
{
"last_affected": "8.5.0"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:tekelec_platform_distribution:*:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:tekelec_platform_distribution",
"extracted_events": [
{
"range": [
{
"introduced": "7.4.0"
},
{
"last_affected": "7.7.1"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
},
{
"introduced": "10.0"
},
{
"last_affected": "10.0"
},
{
"introduced": "11.0"
},
{
"last_affected": "11.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_cloud_native_core_policy",
"extracted_events": [
{
"range": [
{
"introduced": "1.14.0"
},
{
"last_affected": "1.14.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_pricing_design_center:12.0.0.3.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_pricing_design_center",
"extracted_events": [
{
"range": [
{
"introduced": "12.0.0.3.0"
},
{
"last_affected": "12.0.0.3.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:hospitality_cruise_shipboard_property_management_system:20.1.0:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:hospitality_cruise_shipboard_property_management_system",
"extracted_events": [
{
"range": [
{
"introduced": "20.1.0"
},
{
"last_affected": "20.1.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-30640",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 431258,
"published_at": "2021-07-12T15:15:08.367+00:00"
}