CVE-2024-52316: Apache Tomcat: Authentication bypass when using Jakarta Authentication API

Published Nov 18, 2024
·
Updated

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. Other EOL versions may also be affected.

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

Other sources

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.

Red Hat

Affected Software

34 affected componentsFixes available
F5 Traffix SDC=5.2.0
maven/org.apache.tomcat:tomcat-catalina>=11.0.0-M1<=11.0.0-M26
11.0.1
maven/org.apache.tomcat:tomcat-catalina>=10.1.0-M1<10.1.30
10.1.30
maven/org.apache.tomcat:tomcat-catalina<9.0.96
9.0.96
Apache Tomcat>=9.0.0<9.0.96
Apache Tomcat>=10.1.0<10.1.31
Apache Tomcat=11.0.0-milestone1
Apache Tomcat=11.0.0-milestone10
Apache Tomcat=11.0.0-milestone11
Apache Tomcat=11.0.0-milestone12
Apache Tomcat=11.0.0-milestone13
Apache Tomcat=11.0.0-milestone14
Apache Tomcat=11.0.0-milestone15
Apache Tomcat=11.0.0-milestone16
Apache Tomcat=11.0.0-milestone17
Apache Tomcat=11.0.0-milestone18
Apache Tomcat=11.0.0-milestone19
Apache Tomcat=11.0.0-milestone2
Apache Tomcat=11.0.0-milestone20
Apache Tomcat=11.0.0-milestone21
Apache Tomcat=11.0.0-milestone22
Apache Tomcat=11.0.0-milestone23
Apache Tomcat=11.0.0-milestone24
Apache Tomcat=11.0.0-milestone25
Apache Tomcat=11.0.0-milestone26
Apache Tomcat=11.0.0-milestone3
Apache Tomcat=11.0.0-milestone4
Apache Tomcat=11.0.0-milestone5
Apache Tomcat=11.0.0-milestone6
Apache Tomcat=11.0.0-milestone7
Apache Tomcat=11.0.0-milestone8
Apache Tomcat=11.0.0-milestone9
Debian Debian Linux=11.0
IBM API Connect V12 OnPrem<=All

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-catalina to a version that resolves this vulnerability.

    Fixed in 11.0.1
  2. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-catalina to a version that resolves this vulnerability.

    Fixed in 10.1.30
  3. Upgrade

    Upgrade maven/org.apache.tomcat:tomcat-catalina to a version that resolves this vulnerability.

    Fixed in 9.0.96
  4. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 11.0.0
  5. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 10.1.31
  6. Upgrade

    Upgrade Apache Tomcat to a version that resolves this vulnerability.

    Fixed in 9.0.96

Event History

Nov 18, 2024
CVE Published
via MITRE·11:32 AM
Data Sourced
via MITRE·11:32 AM
DescriptionWeakness
Data Sourced
via Red Hat·12:01 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·12:30 PM
Jan 18, 2025
Advisory Published
via F5·01:28 AM
Jul 7, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-52316?

CVE-2024-52316 has been classified as a moderate severity vulnerability.

2

How do I fix CVE-2024-52316?

To fix CVE-2024-52316, upgrade to Apache Tomcat version 11.0.1, 10.1.30, or 9.0.96 depending on your current version.

3

Which versions of Apache Tomcat are affected by CVE-2024-52316?

Apache Tomcat versions earlier than 11.0.1, 10.1.30, and 9.0.96 are affected by CVE-2024-52316.

4

Is CVE-2024-52316 specific to Apache Tomcat?

Yes, CVE-2024-52316 specifically affects the authentication process in Apache Tomcat when using custom Jakarta Authentication components.

5

What type of vulnerability is CVE-2024-52316?

CVE-2024-52316 is an unchecked error condition vulnerability that can occur during the authentication process.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203