CVE Vulnerabilities

CVE-2024-52316

Unchecked Error Condition

Published: Nov 18, 2024 | Modified: Nov 07, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.4 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

[PLANNED FOR DEPRECATION. SEE MAINTENANCE NOTES AND CONSIDER CWE-252, CWE-248, OR CWE-1069.] Ignoring exceptions and other error conditions may allow an attacker to induce unexpected behavior unnoticed.

Affected Software

NameVendorStart VersionEnd Version
TomcatApache9.0.0 (including)9.0.96 (excluding)
TomcatApache10.1.0 (including)10.1.31 (excluding)
TomcatApache11.0.0-milestone1 (including)11.0.0-milestone1 (including)
TomcatApache11.0.0-milestone10 (including)11.0.0-milestone10 (including)
TomcatApache11.0.0-milestone11 (including)11.0.0-milestone11 (including)
TomcatApache11.0.0-milestone12 (including)11.0.0-milestone12 (including)
TomcatApache11.0.0-milestone13 (including)11.0.0-milestone13 (including)
TomcatApache11.0.0-milestone14 (including)11.0.0-milestone14 (including)
TomcatApache11.0.0-milestone15 (including)11.0.0-milestone15 (including)
TomcatApache11.0.0-milestone16 (including)11.0.0-milestone16 (including)
TomcatApache11.0.0-milestone17 (including)11.0.0-milestone17 (including)
TomcatApache11.0.0-milestone18 (including)11.0.0-milestone18 (including)
TomcatApache11.0.0-milestone19 (including)11.0.0-milestone19 (including)
TomcatApache11.0.0-milestone2 (including)11.0.0-milestone2 (including)
TomcatApache11.0.0-milestone20 (including)11.0.0-milestone20 (including)
TomcatApache11.0.0-milestone21 (including)11.0.0-milestone21 (including)
TomcatApache11.0.0-milestone22 (including)11.0.0-milestone22 (including)
TomcatApache11.0.0-milestone23 (including)11.0.0-milestone23 (including)
TomcatApache11.0.0-milestone24 (including)11.0.0-milestone24 (including)
TomcatApache11.0.0-milestone25 (including)11.0.0-milestone25 (including)
TomcatApache11.0.0-milestone26 (including)11.0.0-milestone26 (including)
TomcatApache11.0.0-milestone3 (including)11.0.0-milestone3 (including)
TomcatApache11.0.0-milestone4 (including)11.0.0-milestone4 (including)
TomcatApache11.0.0-milestone5 (including)11.0.0-milestone5 (including)
TomcatApache11.0.0-milestone6 (including)11.0.0-milestone6 (including)
TomcatApache11.0.0-milestone7 (including)11.0.0-milestone7 (including)
TomcatApache11.0.0-milestone8 (including)11.0.0-milestone8 (including)
TomcatApache11.0.0-milestone9 (including)11.0.0-milestone9 (including)
Red Hat Enterprise Linux 10RedHattomcat-1:10.1.36-1.el10_0*
Red Hat JBoss Web Server 6RedHatorg.apache.tomcat/tomcat*
Red Hat JBoss Web Server 6.1 on RHEL 8RedHatjws6-tomcat-0:10.1.36-6.redhat_00007.1.el8jws*
Red Hat JBoss Web Server 6.1 on RHEL 9RedHatjws6-tomcat-0:10.1.36-6.redhat_00007.1.el9jws*
Tomcat10Ubuntuesm-apps/noble*
Tomcat10Ubuntunoble*
Tomcat10Ubuntuoracular*
Tomcat10Ubuntuupstream*
Tomcat6Ubuntutrusty/esm*
Tomcat6Ubuntuupstream*
Tomcat7Ubuntutrusty/esm*
Tomcat7Ubuntuupstream*
Tomcat8Ubuntuesm-apps/bionic*
Tomcat8Ubuntuesm-infra/xenial*
Tomcat8Ubuntuupstream*
Tomcat9Ubuntuesm-apps/bionic*
Tomcat9Ubuntuesm-apps/focal*
Tomcat9Ubuntuesm-apps/jammy*
Tomcat9Ubuntufocal*
Tomcat9Ubuntujammy*
Tomcat9Ubuntuoracular*
Tomcat9Ubuntuupstream*

Potential Mitigations

References