CVE Vulnerabilities

CVE-2024-52316

Unchecked Error Condition

Published: Nov 18, 2024 | Modified: Aug 08, 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

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.

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

Name Vendor Start Version End Version
Tomcat Apache 9.0.0 (including) 9.0.96 (excluding)
Tomcat Apache 10.1.0 (including) 10.1.31 (excluding)
Tomcat Apache 11.0.0-milestone1 (including) 11.0.0-milestone1 (including)
Tomcat Apache 11.0.0-milestone10 (including) 11.0.0-milestone10 (including)
Tomcat Apache 11.0.0-milestone11 (including) 11.0.0-milestone11 (including)
Tomcat Apache 11.0.0-milestone12 (including) 11.0.0-milestone12 (including)
Tomcat Apache 11.0.0-milestone13 (including) 11.0.0-milestone13 (including)
Tomcat Apache 11.0.0-milestone14 (including) 11.0.0-milestone14 (including)
Tomcat Apache 11.0.0-milestone15 (including) 11.0.0-milestone15 (including)
Tomcat Apache 11.0.0-milestone16 (including) 11.0.0-milestone16 (including)
Tomcat Apache 11.0.0-milestone17 (including) 11.0.0-milestone17 (including)
Tomcat Apache 11.0.0-milestone18 (including) 11.0.0-milestone18 (including)
Tomcat Apache 11.0.0-milestone19 (including) 11.0.0-milestone19 (including)
Tomcat Apache 11.0.0-milestone2 (including) 11.0.0-milestone2 (including)
Tomcat Apache 11.0.0-milestone20 (including) 11.0.0-milestone20 (including)
Tomcat Apache 11.0.0-milestone21 (including) 11.0.0-milestone21 (including)
Tomcat Apache 11.0.0-milestone22 (including) 11.0.0-milestone22 (including)
Tomcat Apache 11.0.0-milestone23 (including) 11.0.0-milestone23 (including)
Tomcat Apache 11.0.0-milestone24 (including) 11.0.0-milestone24 (including)
Tomcat Apache 11.0.0-milestone25 (including) 11.0.0-milestone25 (including)
Tomcat Apache 11.0.0-milestone26 (including) 11.0.0-milestone26 (including)
Tomcat Apache 11.0.0-milestone3 (including) 11.0.0-milestone3 (including)
Tomcat Apache 11.0.0-milestone4 (including) 11.0.0-milestone4 (including)
Tomcat Apache 11.0.0-milestone5 (including) 11.0.0-milestone5 (including)
Tomcat Apache 11.0.0-milestone6 (including) 11.0.0-milestone6 (including)
Tomcat Apache 11.0.0-milestone7 (including) 11.0.0-milestone7 (including)
Tomcat Apache 11.0.0-milestone8 (including) 11.0.0-milestone8 (including)
Tomcat Apache 11.0.0-milestone9 (including) 11.0.0-milestone9 (including)
Red Hat Enterprise Linux 10 RedHat tomcat-1:10.1.36-1.el10_0 *
Red Hat JBoss Web Server 6 RedHat org.apache.tomcat/tomcat *
Red Hat JBoss Web Server 6.1 on RHEL 8 RedHat jws6-tomcat-0:10.1.36-6.redhat_00007.1.el8jws *
Red Hat JBoss Web Server 6.1 on RHEL 9 RedHat jws6-tomcat-0:10.1.36-6.redhat_00007.1.el9jws *
Tomcat10 Ubuntu esm-apps/noble *
Tomcat10 Ubuntu noble *
Tomcat10 Ubuntu oracular *
Tomcat10 Ubuntu upstream *
Tomcat6 Ubuntu trusty/esm *
Tomcat6 Ubuntu upstream *
Tomcat7 Ubuntu trusty/esm *
Tomcat7 Ubuntu upstream *
Tomcat8 Ubuntu esm-apps/bionic *
Tomcat8 Ubuntu esm-infra/xenial *
Tomcat8 Ubuntu upstream *
Tomcat9 Ubuntu esm-apps/bionic *
Tomcat9 Ubuntu esm-apps/focal *
Tomcat9 Ubuntu esm-apps/jammy *
Tomcat9 Ubuntu focal *
Tomcat9 Ubuntu jammy *
Tomcat9 Ubuntu oracular *
Tomcat9 Ubuntu upstream *

Potential Mitigations

References