Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat.embed/tomcat-embed-core
  4. ›
  5. CVE-2021-30640

CVE-2021-30640: Improper Authentication

July 12, 2021 (updated October 27, 2022)

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.

References

  • lists.apache.org/thread.html/r59f9ef03929d32120f91f4ea7e6e79edd5688d75d0a9b65fd26d1fe8%40%3Cannounce.tomcat.apache.org%3E
  • nvd.nist.gov/vuln/detail/CVE-2021-30640

Code Behaviors & Features

Detect and mitigate CVE-2021-30640 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.0.0 before 7.0.109, all versions starting from 8.5.0 before 8.5.66, all versions starting from 9.0.0 before 9.0.46, all versions starting from 10.0.0 before 10.0.6

Fixed versions

  • 7.0.109
  • 8.5.66
  • 9.0.46
  • 10.0.6

Solution

Upgrade to versions 7.0.109, 8.5.66, 9.0.46, 10.0.6 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

maven/org.apache.tomcat.embed/tomcat-embed-core/CVE-2021-30640.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:08 +0000.