cve.bz

CVE-2024-52316 Unchecked Error Condition

9.8 criticalEPSS 6.2%Fix available

Critical (9.8). EPSS 6.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat-catalina 10.1.30, 11.0.1, 9.0.96.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
6.2% (unchanged from 6.2% a week ago; 6.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2024-11-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-754 Improper Check for Unusual or Exceptional Conditions
CWE-391 Unchecked Error Condition deprecated by MITRE see CWE-252, CWE-1069, CWE-248, CWE-754, CWE-755
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-52316 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-52316?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-52316?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-52316 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Tomcatfrom 11.0.0-M1 through 11.0.0-M26
Apache Software Foundation Apache Tomcatfrom 10.1.0-M1 through 10.1.30
Apache Software Foundation Apache Tomcatfrom 9.0.0-M1 through 9.0.95
Apache Software Foundation Apache Tomcatfrom 8.5.0 through 8.5.100

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xcpr-7mr4-h4xqMavenorg.apache.tomcat:tomcat-catalina<9.0.969.0.96
GHSA-xcpr-7mr4-h4xqMavenorg.apache.tomcat:tomcat-catalina>=10.1.0-M1 <10.1.3010.1.30
GHSA-xcpr-7mr4-h4xqMavenorg.apache.tomcat:tomcat-catalina>=11.0.0-M1 <11.0.111.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11tomcat99.0.43-2~deb11u11DLA-4017-1
Debian12tomcat1010.1.34-0+deb12u1DEBIAN-CVE-2024-52316 DSA-5845-1
Debian12, 13, 14tomcat99.0.70-2DEBIAN-CVE-2024-52316
Debian13, 14tomcat1010.1.31-1DEBIAN-CVE-2024-52316
UbuntuPro:18.04:LTStomcat8, tomcat9no fix listedUBUNTU-CVE-2024-52316
UbuntuPro:20.04:LTS, Pro:22.04:LTStomcat9no fix listedUBUNTU-CVE-2024-52316
UbuntuPro:24.04:LTStomcat1010.1.16-1ubuntu0.1~esm3UBUNTU-CVE-2024-52316
Red Hatenterprise_linux:8::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-1.el8_10RHSA-2026:68677
Red Hatenterprise_linux:9::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.110-2.el9_8RHSA-2026:18916
Red Hatenterprise_linux:10.0tomcat, tomcat-lib, tomcat-webapps and 5 more1:10.1.36-1.el10_0RHSA-2025:7497
Red Hatjboss_enterprise_web_server:6.1::el8jws6-tomcat, jws6-tomcat-lib, jws6-tomcat-javadoc and 7 more0:10.1.36-6.redhat_00007.1.el8jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el8jws6-tomcat-jakartaee-migration0:1.0.6-2.redhat_00003.1.el8jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el8jws6-tomcat-native, jws6-tomcat-native-debuginfo0:1.3.1-1.redhat_1.el8jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el9jws6-tomcat, jws6-tomcat-lib, jws6-tomcat-javadoc and 7 more0:10.1.36-6.redhat_00007.1.el9jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el9jws6-tomcat-jakartaee-migration0:1.0.6-2.redhat_00003.1.el9jwsRHSA-2025:3608
Red Hatjboss_enterprise_web_server:6.1::el9jws6-tomcat-native, jws6-tomcat-native-debuginfo0:1.3.1-1.redhat_1.el9jwsRHSA-2025:3608
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-1.el8_8RHSA-2026:68680
Red Hatrhel_e4s:9.2::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-1.el9_2RHSA-2026:68678
Red Hatrhel_e4s:9.4::appstreamtomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-1.el9_4RHSA-2026:68679
1 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 11 moretomcat9.0.97-150200.71.1SUSE-SU-2024:4106-1
SUSELinux Enterprise Module for Web and Scripting 15 SP5, Linux Enterprise Module for Web and Scripting 15 SP6tomcat1010.1.33-150200.5.28.1SUSE-SU-2024:4105-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5tomcat9.0.115-3.160.1SUSE-SU-2026:1058-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5tomcat9.0.36-3.133.1SUSE-SU-2024:4075-1
openSUSELeap 15.5, Leap 15.6tomcat9.0.97-150200.71.1SUSE-SU-2024:4106-1
openSUSELeap 15.5, Leap 15.6tomcat1010.1.33-150200.5.28.1SUSE-SU-2024:4105-1
openSUSETumbleweedtomcat9.0.97-1.1openSUSE-SU-2024:14525-1
openSUSETumbleweedtomcat1010.1.33-1.1openSUSE-SU-2024:14526-1
AlmaLinux8tomcat, tomcat-lib, tomcat-webapps and 5 more1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux10tomcat, tomcat-lib, tomcat-webapps and 5 more1:10.1.36-1.el10_0ALSA-2025:7497
Rocky Linux10tomcat1:10.1.36-1.el10_0RLSA-2025:7497

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Product Security has assessed this flaw at Attack Complexity as High, and impact metrics Confidentiality and Integrity as High, with a resultant base flaw Security Impact of Important. However, the factors involved in successful exploitation--usage of a custom Jakarta ServerAuthContext component, possible mishandling of exception management in that custom component, and failure in such a way as to allow a failed authentication to proceed in that exception mishandling--are sufficiently unlikely, such that Apache determined the impact to be Low. While Red Hat concurs with the worst-case assessment of Important for the base flaw, all products are assessed as Low, per individual risk assessment and in concurrence with Apache's rating.

Red Hat Satellite is not directly impacted by this issue as it does not include the affected Tomcat package. However, Tomcat is consumed by Candlepin, a component of Satellite. Red Hat Satellite users are advised to check the impact state of Red Hat Enterprise Linux as any necessary fixes will be distributed through the platform.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10tomcat-1:10.1.36-1.el10_0Fixed 2025-05-13RHSA-2025:7497
Red Hat Enterprise Linux 8tomcat-1:9.0.120-1.el8_10Fixed 2026-09-17RHSA-2026:68677
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicetomcat-1:9.0.120-1.el8_8Fixed 2026-09-17RHSA-2026:68680
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionstomcat-1:9.0.120-1.el8_8Fixed 2026-09-17RHSA-2026:68680
Red Hat Enterprise Linux 9tomcat-1:9.0.110-2.el9_8Fixed 2026-05-19RHSA-2026:18916
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionstomcat-1:9.0.120-1.el9_2Fixed 2026-09-17RHSA-2026:68678
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionstomcat-1:9.0.120-1.el9_4Fixed 2026-09-17RHSA-2026:68679
Red Hat Enterprise Linux 9.6 Extended Update Supporttomcat-1:9.0.120-1.el9_6Fixed 2026-09-17RHSA-2026:68659
Red Hat JBoss Web Server 6Fixed 2025-04-07RHSA-2025:3609
Red Hat JBoss Web Server 6.1 on RHEL 8jws6-tomcat-0:10.1.36-6.redhat_00007.1.el8jwsFixed 2025-04-07RHSA-2025:3608
Red Hat JBoss Web Server 6.1 on RHEL 9jws6-tomcat-0:10.1.36-6.redhat_00007.1.el9jwsFixed 2025-04-07RHSA-2025:3608
Red Hat Enterprise Linux 7tomcatNot affected
Red Hat Enterprise Linux 8pki-deps:10.6/pki-servlet-engineFix deferred
Red Hat Enterprise Linux 9pki-servlet-engineFix deferred
Red Hat JBoss Web Server 5tomcatFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-52316.

References

Check your stackJSON