Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat/tomcat-catalina
  4. ›
  5. CVE-2024-52316

CVE-2024-52316: Apache Tomcat - Authentication Bypass

November 18, 2024 (updated January 24, 2025)

Unchecked Error Condition vulnerability in Apache Tomcat. If Tomcat is configured to use a custom Jakarta Authentication (formerly JASPIC) ServerAuthContext component which may throw an exception during the authentication process without explicitly setting an HTTP status to indicate failure, the authentication may not fail, allowing the user to bypass the authentication process. There are no known Jakarta Authentication components that behave in this way.

This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M26, from 10.1.0-M1 through 10.1.30, from 9.0.0-M1 through 9.0.95.

Users are recommended to upgrade to version 11.0.0, 10.1.31 or 9.0.96, which fix the issue.

References

  • github.com/advisories/GHSA-xcpr-7mr4-h4xq
  • github.com/apache/tomcat
  • github.com/apache/tomcat/commit/6d097a66746635df6880fe7662a792156b0eca14
  • github.com/apache/tomcat/commit/7532f9dc4a8c37ec958f79dc82c4924a6c539223
  • github.com/apache/tomcat/commit/acc2f01395f895980f5d8a64573fcc1bade13369
  • lists.apache.org/thread/lopzlqh91jj9n334g02om08sbysdb928
  • nvd.nist.gov/vuln/detail/CVE-2024-52316
  • security.netapp.com/advisory/ntap-20250124-0003

Code Behaviors & Features

Detect and mitigate CVE-2024-52316 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 before 9.0.96, all versions starting from 10.1.0-M1 before 10.1.30, all versions starting from 11.0.0-M1 before 11.0.1

Fixed versions

  • 9.0.96
  • 10.1.30
  • 11.0.1

Solution

Upgrade to versions 10.1.30, 11.0.1, 9.0.96 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-391: Unchecked Error Condition

Source file

maven/org.apache.tomcat/tomcat-catalina/CVE-2024-52316.yml

Spotted a mistake? Edit the file on GitLab.

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

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