CRITICAL 9.8

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)

ArtifactAffected versionsFixed 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

1affected artifacts
398affected versions
5,472dependent artifacts (est.)
941,731dependent versions

79% of the dependent artifacts (4,357) still pull an affected version in their latest release.

DepthDependent 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

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.