Skip to content
Fencer Intel
critical 9.8

CVE-2024-52316 json

Apache Tomcat: Authentication bypass when using Jakarta Authentication API

published last yr. modified 2mo ago also BIT-tomcat-2024-52316 , EUVD-2024-3331 , GHSA-xcpr-7mr4-h4xq

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
6.2%
EPSS 6.2% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.tomcat:tomcat-catalina 9.0.96, 10.1.30, 11.0.1
  • bitnami tomcat 9.0.96, 10.1.31
  • apache tomcat-catalina 9.0.96, 10.1.31, 11.0.0
  • apache tomcat 9.0.96, 10.1.31, 11.0.0
  • org.apache.tomcat tomcat-catalina 9.0.96, 10.1.31, 11.0.0
  • apache tomcat-embed-core 9.0.96, 10.1.31, 11.0.0
  • org.apache.tomcat.embed tomcat-embed-core 9.0.96, 10.1.31, 11.0.0
  • tomcat9 Debian 14, Debian 13, Debian 12 9.0.70-2
  • tomcat10 Debian 12 10.1.34-0+deb12u1
  • tomcat10 Debian 14, Debian 13 10.1.31-1

debian advisories DEBIAN-CVE-2024-52316

  • tomcat10 Ubuntu Pro 24.04 LTS 10.1.16-1ubuntu0.1~esm3

ubuntu advisories UBUNTU-CVE-2024-52316

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • tomcat RHEL 8 1:9.0.120-1.el8_10
  • tomcat-lib RHEL 8 1:9.0.120-1.el8_10
  • tomcat-webapps RHEL 8 1:9.0.120-1.el8_10
  • tomcat-el-3.0-api RHEL 8 1:9.0.120-1.el8_10
  • tomcat-docs-webapp RHEL 8 1:9.0.120-1.el8_10
  • tomcat-jsp-2.3-api RHEL 8 1:9.0.120-1.el8_10
  • tomcat-admin-webapps RHEL 8 1:9.0.120-1.el8_10
  • tomcat-servlet-4.0-api RHEL 8 1:9.0.120-1.el8_10

red hat advisories RHSA-2026:68680RHSA-2026:68679RHSA-2026:68677RHSA-2026:68678RHSA-2026:68659RHSA-2026:18916

  • tomcat SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +13 more 9.0.97-150200.71.1
  • tomcat10 SLE Module for Web and Scripting 15 SP6, SLE Module for Web and Scripting 15 SP5, openSUSE Leap 15.6 +1 more 10.1.33-150200.5.28.1
  • tomcat SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 9.0.115-3.160.1
  • tomcat SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 9.0.36-3.133.1

suse advisories SUSE-SU-2026:1058-1SUSE-SU-2024:4106-1SUSE-SU-2024:4105-1SUSE-SU-2024:4075-1

  • tomcat openSUSE Tumbleweed 9.0.97-1.1
  • tomcat10 openSUSE Tumbleweed 10.1.33-1.1

opensuse advisories openSUSE-SU-2024:14525-1openSUSE-SU-2024:14526-1

  • tomcat AlmaLinux 8 1:9.0.120-1.el8_10
  • tomcat-lib AlmaLinux 8 1:9.0.120-1.el8_10
  • tomcat-webapps AlmaLinux 8 1:9.0.120-1.el8_10
  • tomcat-el-3.0-api AlmaLinux 8 1:9.0.120-1.el8_10
  • tomcat-docs-webapp AlmaLinux 8 1:9.0.120-1.el8_10
  • tomcat-jsp-2.3-api AlmaLinux 8 1:9.0.120-1.el8_10
  • tomcat-admin-webapps AlmaLinux 8 1:9.0.120-1.el8_10
  • tomcat-servlet-4.0-api AlmaLinux 8 1:9.0.120-1.el8_10

almalinux advisories ALSA-2026:68677ALSA-2025:7497

  • tomcat Rocky Linux 10 1:10.1.36-1.el10_0

rocky linux advisories RLSA-2025:7497

Is CVE-2024-52316 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-52316 updated cvss 7.4

tomcat: Apache Tomcat: Authentication bypass when using Jakarta Authentication API

  • Red Hat Enterprise Linux 8 pki-servlet-engine, pki-servlet-4.0-api Red Hat Enterprise Linux 9 pki-servlet-engine, pki-servlet-4.0-api Red Hat JBoss Web Server 5 tomcat
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux AppStream (v. 8) tomcat 9.0.120-1.el8_10, tomcat-lib 9.0.120-1.el8_10, tomcat-webapps 9.0.120-1.el8_10, tomcat-el-3.0-api 9.0.120-1.el8_10, tomcat-docs-webapp 9.0.120-1.el8_10, tomcat-jsp-2.3-api 9.0.120-1.el8_10, +2 more
    fixed: vendor fix RHSA-2026:68677
  • Red Hat Enterprise Linux AppStream (v. 9) tomcat 9.0.110-2.el9_8, tomcat-lib 9.0.110-2.el9_8, tomcat-webapps 9.0.110-2.el9_8, tomcat-el-3.0-api 9.0.110-2.el9_8, tomcat-docs-webapp 9.0.110-2.el9_8, tomcat-jsp-2.3-api 9.0.110-2.el9_8, +2 more
    fixed: vendor fix RHSA-2026:18916
  • Red Hat Enterprise Linux AppStream (v. 10) tomcat 10.1.36-1.el10_0, tomcat-lib 10.1.36-1.el10_0, tomcat-webapps 10.1.36-1.el10_0, tomcat-el-5.0-api 10.1.36-1.el10_0, tomcat-docs-webapp 10.1.36-1.el10_0, tomcat-jsp-3.1-api 10.1.36-1.el10_0, +2 more
    fixed: vendor fix RHSA-2025:7497
  • Red Hat Enterprise Linux AppStream E4S (v.8.8) tomcat 9.0.120-1.el8_8, tomcat-lib 9.0.120-1.el8_8, tomcat-webapps 9.0.120-1.el8_8, tomcat-el-3.0-api 9.0.120-1.el8_8, tomcat-docs-webapp 9.0.120-1.el8_8, tomcat-jsp-2.3-api 9.0.120-1.el8_8, +2 more
    fixed: vendor fix RHSA-2026:68680
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) tomcat 9.0.120-1.el9_2, tomcat-lib 9.0.120-1.el9_2, tomcat-webapps 9.0.120-1.el9_2, tomcat-el-3.0-api 9.0.120-1.el9_2, tomcat-docs-webapp 9.0.120-1.el9_2, tomcat-jsp-2.3-api 9.0.120-1.el9_2, +2 more
    fixed: vendor fix RHSA-2026:68678
  • Red Hat Enterprise Linux AppStream E4S (v.9.4) tomcat 9.0.120-1.el9_4, tomcat-lib 9.0.120-1.el9_4, tomcat-webapps 9.0.120-1.el9_4, tomcat-el-3.0-api 9.0.120-1.el9_4, tomcat-docs-webapp 9.0.120-1.el9_4, tomcat-jsp-2.3-api 9.0.120-1.el9_4, +2 more
    fixed: vendor fix RHSA-2026:68679
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) tomcat 9.0.120-1.el9_6, tomcat-lib 9.0.120-1.el9_6, tomcat-webapps 9.0.120-1.el9_6, tomcat-el-3.0-api 9.0.120-1.el9_6, tomcat-docs-webapp 9.0.120-1.el9_6, tomcat-jsp-2.3-api 9.0.120-1.el9_6, +2 more
    fixed: vendor fix RHSA-2026:68659
show 4 more
  • Red Hat Enterprise Linux AppStream TUS (v.8.8) tomcat 9.0.120-1.el8_8, tomcat-lib 9.0.120-1.el8_8, tomcat-webapps 9.0.120-1.el8_8, tomcat-el-3.0-api 9.0.120-1.el8_8, tomcat-docs-webapp 9.0.120-1.el8_8, tomcat-jsp-2.3-api 9.0.120-1.el8_8, +2 more
    fixed: vendor fix RHSA-2026:68680
  • Red Hat JBoss Web Server 6
    fixed: vendor fix RHSA-2025:3609
  • Red Hat JBoss Web Server 6.1 for RHEL 8 jws6-tomcat 10.1.36-6.redhat_00007.1.el8jws, jws6-tomcat-lib 10.1.36-6.redhat_00007.1.el8jws, jws6-tomcat-javadoc 10.1.36-6.redhat_00007.1.el8jws, jws6-tomcat-selinux 10.1.36-6.redhat_00007.1.el8jws, jws6-tomcat-webapps 10.1.36-6.redhat_00007.1.el8jws, jws6-tomcat-el-5.0-api 10.1.36-6.redhat_00007.1.el8jws, +4 more Red Hat JBoss Web Server 6.1 for RHEL 9 jws6-tomcat 10.1.36-6.redhat_00007.1.el9jws, jws6-tomcat-lib 10.1.36-6.redhat_00007.1.el9jws, jws6-tomcat-javadoc 10.1.36-6.redhat_00007.1.el9jws, jws6-tomcat-selinux 10.1.36-6.redhat_00007.1.el9jws, jws6-tomcat-webapps 10.1.36-6.redhat_00007.1.el9jws, jws6-tomcat-el-5.0-api 10.1.36-6.redhat_00007.1.el9jws, +4 more
    fixed: vendor fix RHSA-2025:3608
  • Red Hat Enterprise Linux 7 tomcat, tomcat-lib, tomcat-jsvc, tomcat-javadoc, tomcat-webapps, tomcat-el-2.2-api, +4 more Red Hat JBoss Web Server 6.1 for RHEL 8 jws6-tomcat-native 1.3.1-1.redhat_1.el8jws, jws6-tomcat-jakartaee-migration 1.0.6-2.redhat_00003.1.el8jws Red Hat JBoss Web Server 6.1 for RHEL 9 jws6-tomcat-native 1.3.1-1.redhat_1.el9jws, jws6-tomcat-jakartaee-migration 1.0.6-2.redhat_00003.1.el9jws
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
last yr.

Exploit prediction

6.25% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
maven 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
bitnami tomcat
>=9.0.0, <9.0.96
>=10.0.0, <10.1.31
9.0.96
10.1.31

Affected products

  • Apache Software Foundation Apache Tomcat
  • apache tomcat

Classification

Weakness
  • CWE-391 DEPRECATED: Unchecked Error Condition
  • CWE-754 Improper Check for Unusual or Exceptional Conditions

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.