CVE-2024-52316
Apache Tomcat - Authentication Bypass
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.
Users are recommended to upgrade to version 11.0.0, 10.1.31 or 9.0.96, which fix the issue.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.tomcat » tomcat-catalina | < 9.0.96>= 10.1.0-M1, < 10.1.30>= 11.0.0-M1, < 11.0.1 | 9.0.96, 10.1.30, 11.0.1 |
Blast radius
79% of the dependent artifacts (4,357) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 7,149 |
| 2 hops | 4,262 |
| 3 hops | 258,202 |
| 4 hops | 432,739 |
| 5 hops | 211,259 |
| 6 hops | 28,120 |
Most used dependents
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- org.wso2.carbon » org.wso2.carbon.ui803 usages
- org.sakaiproject.kernel » sakai-kernel-api504 usages
- org.apache.tomcat.maven » tomcat7-maven-plugin443 usages
- org.sakaiproject.kernel » sakai-component-manager417 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.core350 usages
- org.sakaiproject.kernel » sakai-kernel-util344 usages
- org.apache.tomcat » tomcat-jasper303 usages
- org.nuxeo.runtime » nuxeo-runtime-test301 usages
- org.apache.tomcat » tomcat-coyote262 usages
- org.apache.ws.security » wss4j247 usages
- org.wso2.carbon.identity.framework » org.wso2.carbon.identity.application.authentication.framework238 usages
- org.apache.myfaces.core » myfaces-impl229 usages
- org.nuxeo.ecm.core » nuxeo-core-test227 usages
- org.wso2.carbon.automation » org.wso2.carbon.automation.test.utils179 usages
Computed from the dependency graph of build 20261125.0317 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2024-52316 | nvd.nist.gov |
| Package | apache/tomcat | github.com |
| Web | apache/tomcat commit 6d097a6 | github.com |
| Web | apache/tomcat commit 7532f9d | github.com |
| Web | apache/tomcat commit acc2f01 | github.com |
| Web | thread/lopzlqh91jj9n334g02om08sbysdb928 | lists.apache.org |
| Web | debian-lts-announce/2025/01/msg00009.html | lists.debian.org |
| Web | advisory/ntap-20250124-0003 | security.netapp.com |
| Web | lists/oss-security/2024/11/18/2 | openwall.com |
