9.8critical
Apache Tomcat: Authentication bypass when using Jakarta Authentication API
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 6.25% (higher than 93% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-xcpr-7mr4-h4xqBIT-TOMCAT-2024-52316
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Tomcat | from 11.0.0-M1 up to 11.0.0-M26, from 10.1.0-M1 up to 10.1.30, from 9.0.0-M1 up to 9.0.95, from 8.5.0 up to 8.5.100, from 10.0.0-M1 up to 10.0.27 | CVE List |
| apache tomcat | from 9.0.0-M1 up to 9.0.95, from 10.1.0-M1 up to 10.1.30, from 11.0.0-M1 up to 11.0.0-M26, from 9.0.0 before 9.0.96, from 10.1.0 before 10.1.31, 11.0.0 | CVE List, NVD |
| org.apache.tomcat:tomcat-catalina (Maven) | before 9.0.96, from 10.1.0-M1 before 10.1.30, from 11.0.0-M1 before 11.0.1 | GitHub Advisory Database |
| debian debian_linux | 11.0 | NVD |
| tomcat (Bitnami) | from 9.0.0 before 9.0.96, from 10.0.0 before 10.1.31 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Vulnerabilidad de condición de error no comprobada en Apache Tomcat. Si Tomcat está configurado para utilizar un componente ServerAuthContext de autenticación de Jakarta (anteriormente JASPIC) personalizado que puede generar una excepción durante el proceso de autenticación sin establecer explícitamente un estado HTTP para indicar un error, la autenticación puede no fallar, lo que permite al usuario omitir el proceso de autenticación. No se conocen componentes de autenticación de Jakarta que se comporten de esta manera. Este problema afecta a Apache Tomcat: desde 11.0.0-M1 hasta 11.0.0-M26, desde 10.1.0-M1 hasta 10.1.30, desde 9.0.0-M1 hasta 9.0.95. Se recomienda a los usuarios que actualicen a la versión 11.0.0, 10.1.31 o 9.0.96, que solucionan el problema.
Bitnami Vulnerability Database
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 through 11.0.0, from 10.1.0 through 10.1.30, from 9.0.0 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.
References
| https://lists.apache.org/thread/lopzlqh91jj9n334g02om08sbysdb928 | advisory, mailing-list, vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2024/11/18/2 | advisory, mailing-list, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20250124-0003/ | advisory, third-party-advisory | |
| https://lists.debian.org/debian-lts-announce/2025/01/msg00009.html | advisory, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-52316 | advisory, web | |
| https://github.com/apache/tomcat/commit/6d097a66746635df6880fe7662a792156b0eca14 | web | |
| https://github.com/apache/tomcat/commit/7532f9dc4a8c37ec958f79dc82c4924a6c539223 | web | |
| https://github.com/apache/tomcat/commit/acc2f01395f895980f5d8a64573fcc1bade13369 | web | |
| https://github.com/apache/tomcat | package | |
| https://security.netapp.com/advisory/ntap-20250124-0003 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-52316 changed 2025-11-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xcpr-7mr4-h4xq changed 2025-11-03 | CC-BY-4.0 |
| NVD | CVE-2024-52316 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-TOMCAT-2024-52316 changed 2026-09-08 | Apache-2.0 |