VDB

CVE-2021-30640

CVE-2021-30640 PUBLISHED CVSS 6.5 MEDIUM

Auth weakness in JNDIRealm

Reported by apache · Published July 12, 2021

tomcat-embed-core is fixed in 10.0.6, 9.0.46, 8.5.66 and 1 more (Maven Central)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.apache.tomcat.embed:tomcat-embed-coreMaven Central10.0.6, 9.0.46, 8.5.66, 7.0.109
org.apache.tomcat:tomcatMaven Central10.0.6, 10.0.5, 9.0.46, 9.0.45, 8.5.66, 8.5.65, 7.0.109
tomcat9Ubuntu:18.04:LTS9.0.16-3ubuntu0.18.04.2
tekelec_platform_distributionoracle7.7.1
tomcatBitnami10.0.6, 9.0.46, 8.5.66, 7.0.109

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

Affected products

VendorProductVersions
Apache Software FoundationApache TomcatApache Tomcat 10 10.0.0-M1 to 10.0.5, Apache Tomcat 9 9.0.0.M1 to 9.0.45, Apache Tomcat 8.5 8.5.0 to 8.5.65
Apache Software FoundationApache Tomcat7.0.0, 8.5, 9.0.0.M1
Mavenorg.apache.tomcat:tomcat7.0.0, 8.5.0, 9.0.0
Mavenorg.apache.tomcat.embed:tomcat-embed-core10.0.0, 9.0.0, 8.5.0

Timeline

  • Jul 12, 2021 CVE Published
  • Jul 13, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (32 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (42 in total, the first dated here)
  • Aug 3, 2026 Coalition ESS Score
  • Aug 9, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-30640
vulnetix vdb fixes CVE-2021-30640

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-30640/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›