CWE
391 754
Advisory Published
Advisory Published
Advisory Published
Updated

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

First published: Mon 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. Users are recommended to upgrade to version 11.0.0, 10.1.31 or 9.0.96, which fix the issue.

Credit: security@apache.org security@apache.org

Affected SoftwareAffected VersionHow to fix
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
F5 Traffix Systems Signaling Delivery Controller=5.2.0
Tomcat>=9.0.0<9.0.96
Tomcat>=10.1.0<10.1.31
Tomcat=11.0.0-milestone1
Tomcat=11.0.0-milestone10
Tomcat=11.0.0-milestone11
Tomcat=11.0.0-milestone12
Tomcat=11.0.0-milestone13
Tomcat=11.0.0-milestone14
Tomcat=11.0.0-milestone15
Tomcat=11.0.0-milestone16
Tomcat=11.0.0-milestone17
Tomcat=11.0.0-milestone18
Tomcat=11.0.0-milestone19
Tomcat=11.0.0-milestone2
Tomcat=11.0.0-milestone20
Tomcat=11.0.0-milestone21
Tomcat=11.0.0-milestone22
Tomcat=11.0.0-milestone23
Tomcat=11.0.0-milestone24
Tomcat=11.0.0-milestone25
Tomcat=11.0.0-milestone26
Tomcat=11.0.0-milestone3
Tomcat=11.0.0-milestone4
Tomcat=11.0.0-milestone5
Tomcat=11.0.0-milestone6
Tomcat=11.0.0-milestone7
Tomcat=11.0.0-milestone8
Tomcat=11.0.0-milestone9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-52316?

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

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203