Loading...
Skip to main content

CVE-2024-52316 — Vulnerability in...

CRITICAL

Apache Tomcat - Authentication Bypass

Published November 18, 2024Updated November 3, 2025Source: osv

Summary

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. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Users are recommended to upgrade to version 11.0.0, 10.1.31 or 9.0.96, which fix the issue.

Advisory Timeline

  • First published November 18, 2024 (693 days ago).
  • Last revised November 3, 2025 — 350 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.tomcat:tomcat-catalina to 9.0.96 or later
<!-- Update pom.xml dependency version to 9.0.96 for org.apache.tomcat:tomcat-catalina -->
Maven
Update org.apache.tomcat:tomcat-catalina to 10.1.30 or later
<!-- Update pom.xml dependency version to 10.1.30 for org.apache.tomcat:tomcat-catalina -->
Maven
Update org.apache.tomcat:tomcat-catalina to 11.0.1 or later
<!-- Update pom.xml dependency version to 11.0.1 for org.apache.tomcat:tomcat-catalina -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.tomcat:tomcat-catalina
maven
7.0.0, 7.0.100, 7.0.103, 7.0.104 (+299 more)9.0.96
org.apache.tomcat:tomcat-catalina
maven
10.1.0, 10.1.0-M1, 10.1.0-M10, 10.1.0-M11 (+36 more)10.1.30
org.apache.tomcat:tomcat-catalina
maven
11.0.0, 11.0.0-M1, 11.0.0-M10, 11.0.0-M11 (+20 more)11.0.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2024-52316?
Apache Tomcat - Authentication Bypass This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2024-52316?
CVE-2024-52316 affects org.apache.tomcat:tomcat-catalina. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-52316 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-xcpr-7mr4-h4xq
BIT-tomcat-2024-52316

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies