CVEfocus › CVE database › CVE-2024-52316

CVE-2024-52316Apache Tomcat: Authentication bypass when using Jakarta Authentication API

CVSS 9.8 CriticalEPSS 3.2% (higher than 89% of CVEs)Published 2024-11-18Updated 2025-11-04Assigner: apache

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.

CWE-391

What to do

Fixed builds are available from AlmaLinux, Debian, Maven, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

49Fixed
8Fix pending
15Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04tomcat10Not affected
vulnerable_code_not_present
Ubuntu 26.04tomcat9Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat10Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat11Not affected
vulnerable_code_not_present
Ubuntu 25.10tomcat9Not affected
vulnerable_code_not_present
Ubuntu 24.04tomcat10Fixed10.1.61~us1-0ubuntu1~24.04.2UBUNTU-CVE-2024-52316
Ubuntu 22.04tomcat9Fix pendingUBUNTU-CVE-2024-52316
Ubuntu 20.04tomcat9Fix pendingUBUNTU-CVE-2024-52316
Ubuntu 18.04tomcat8Fix pendingUBUNTU-CVE-2024-52316
Ubuntu 18.04tomcat9Fix pendingUBUNTU-CVE-2024-52316
Debian 14tomcat10Fixed10.1.31-1DEBIAN-CVE-2024-52316
Debian 14tomcat9Fixed9.0.70-2DEBIAN-CVE-2024-52316
Debian 13tomcat10Fixed10.1.31-1DEBIAN-CVE-2024-52316
Debian 13tomcat9Fixed9.0.70-2DEBIAN-CVE-2024-52316
Debian 12tomcat10Fixed10.1.34-0+deb12u1DEBIAN-CVE-2024-52316
Debian 12tomcat9Fixed9.0.70-2DEBIAN-CVE-2024-52316
Red Hat Enterprise Linux 10tomcatFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-admin-webappsFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-docs-webappFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-el-5.0-apiFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-jsp-3.1-apiFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-libFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-servlet-6.0-apiFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 10tomcat-webappsFixed1:10.1.36-1.el10_0RHSA-2025:7497
Red Hat Enterprise Linux 9pki-servlet-4.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 9pki-servlet-engineFix pending
Fix deferred
Red Hat Enterprise Linux 9tomcatFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-admin-webappsFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-docs-webappFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-el-3.0-apiFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-jsp-2.3-apiFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-libFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-servlet-4.0-apiFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 9tomcat-webappsFixed1:9.0.110-2.el9_8RHSA-2026:18916
Red Hat Enterprise Linux 8pki-servlet-4.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 8pki-servlet-engineFix pending
Fix deferred
Red Hat Enterprise Linux 8tomcatFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-admin-webappsFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-docs-webappFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-el-3.0-apiFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-jsp-2.3-apiFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-libFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-servlet-4.0-apiFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 8tomcat-webappsFixed1:9.0.120-1.el8_10RHSA-2026:68677
Red Hat Enterprise Linux 7tomcatNot affected
Red Hat Enterprise Linux 7tomcat-admin-webappsNot affected
Red Hat Enterprise Linux 7tomcat-docs-webappNot affected
Red Hat Enterprise Linux 7tomcat-el-2.2-apiNot affected
Red Hat Enterprise Linux 7tomcat-javadocNot affected
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiNot affected
Red Hat Enterprise Linux 7tomcat-jsvcNot affected
Red Hat Enterprise Linux 7tomcat-libNot affected
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiNot affected
Red Hat Enterprise Linux 7tomcat-webappsNot affected
AlmaLinux 10tomcatFixed1:10.1.36-1.el10_0ALSA-2025:7497
AlmaLinux 10tomcat-admin-webappsFixed1:10.1.36-1.el10_0ALSA-2025:7497
AlmaLinux 10tomcat-docs-webappFixed1:10.1.36-1.el10_0ALSA-2025:7497
AlmaLinux 10tomcat-el-5.0-apiFixed1:10.1.36-1.el10_0ALSA-2025:7497
AlmaLinux 10tomcat-jsp-3.1-apiFixed1:10.1.36-1.el10_0ALSA-2025:7497
AlmaLinux 10tomcat-libFixed1:10.1.36-1.el10_0ALSA-2025:7497
AlmaLinux 10tomcat-servlet-6.0-apiFixed1:10.1.36-1.el10_0ALSA-2025:7497
AlmaLinux 10tomcat-webappsFixed1:10.1.36-1.el10_0ALSA-2025:7497
AlmaLinux 8tomcatFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-admin-webappsFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-docs-webappFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-el-3.0-apiFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-jsp-2.3-apiFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-libFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-servlet-4.0-apiFixed1:9.0.120-1.el8_10ALSA-2026:68677
AlmaLinux 8tomcat-webappsFixed1:9.0.120-1.el8_10ALSA-2026:68677
Rocky Linux 10tomcatFixed1:10.1.36-1.el10_0RLSA-2025:7497
Maven libraryorg.apache.tomcat:tomcat-catalinaFixed10.1.30GHSA-xcpr-7mr4-h4xq

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.