Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2024-52316

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

Overview

Published
18 Nov 2024
Modified
17 Jun 2026
Critical CVE
4 Registry packages
57 OS packages
10 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

9.8 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-391, CWE-754

Affected packages · 4

Packages affected by CVE-2024-52316
EcosystemPackageVulnerableFixed in
Bitnami tomcat >=9.0.0, <9.0.96>=10.0.0, <10.1.31 9.0.9610.1.31
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.9610.1.3011.0.1
Seal Maven org.apache.tomcat.embed:tomcat-embed-core >=10.1.25+sp0, <10.1.25+sp2>=9.0.39+sp0, <9.0.39+sp2 10.1.25+sp29.0.39+sp2
Seal Maven seal.sp1.org.apache.tomcat.embed:tomcat-embed-core >=10.1.25, <10.1.25+sp999>=9.0.39, <9.0.39+sp999 10.1.25+sp9999.0.39+sp999

Open a package to see all its vulnerabilities.

Operating systems · 43 fixes

Photon OS 1 release · 1 package

fixed 1
apache-tomcat10
Photon OS fixes for CVE-2024-52316
ReleasePackageFixed in
5.0 apache-tomcat10 +1 10.1.34-1.ph5

Red Hat 4 releases · 6 packages

affected 4 fixed 12
jws5-tomcat jws6-tomcat-jakartaee-migration jws6-tomcat-native jws6-tomcat tomcat pki-servlet-4-0-api
Red Hat fixes for CVE-2024-52316
ReleasePackageFixed inAdvisory
7 jws5-tomcat +1 affected —
8 jws5-tomcat affected —
8 jws6-tomcat-jakartaee-migration 0:1.0.6-2.redhat_00003.1.el8jws RHSA-2025:3608
8 jws6-tomcat-native 0:1.3.1-1.redhat_1.el8jws RHSA-2025:3608
8 jws6-tomcat +9 0:10.1.36-6.redhat_00007.1.el8jws RHSA-2025:3608
8 tomcat +7 1:9.0.120-1.el8_10 RHSA-2026:68677

10 more rows

SUSE Linux Enterprise 4 releases · 2 packages

fixed 6
tomcat tomcat10
SUSE Linux Enterprise fixes for CVE-2024-52316
ReleasePackageFixed inAdvisory
12.5 tomcat +8 9.0.36-3.133.1 SUSE-SU-2024:4075-1
15.4 tomcat +6 9.0.97-150200.71.1 SUSE-SU-2024:4106-1
15.5 tomcat10 +6 10.1.33-150200.5.28.1 SUSE-SU-2024:4105-1
15.5 tomcat +6 9.0.97-150200.71.1 SUSE-SU-2024:4106-1
15.6 tomcat10 +6 10.1.33-150200.5.28.1 SUSE-SU-2024:4105-1
15.6 tomcat +6 9.0.97-150200.71.1 SUSE-SU-2024:4106-1

alma 1 release · 1 package

fixed 1
tomcat
alma fixes for CVE-2024-52316
ReleasePackageFixed in
8 tomcat +7 1:9.0.120-1.el8_10

amazon linux 1 release · 2 packages

fixed 2
tomcat10 tomcat9
amazon linux fixes for CVE-2024-52316
ReleasePackageFixed in
2023 tomcat10 +7 1:10.1.34-1.amzn2023.0.1
2023 tomcat9 +7 1:9.0.98-1.amzn2023.0.1

debian 4 releases · 2 packages

fixed 7
tomcat9 tomcat10
debian fixes for CVE-2024-52316
ReleasePackageFixed in
11 tomcat9 9.0.43-2~deb11u11
12 tomcat10 10.1.34-0+deb12u1
12 tomcat9 9.0.70-2
13 tomcat10 10.1.31-1
13 tomcat9 9.0.70-2
14 tomcat10 10.1.31-1

1 more row

echo 1 release · 2 packages

fixed 2
tomcat10 tomcat9
echo fixes for CVE-2024-52316
ReleasePackageFixed in
tomcat10 10.1.34-0+deb12u1
tomcat9 9.0.70-2

openSUSE 1 release · 2 packages

fixed 2
tomcat10 tomcat
openSUSE fixes for CVE-2024-52316
ReleasePackageFixed inAdvisory
Tumbleweed tomcat10 +10 10.1.33-1.1 openSUSE-SU-2024:14526-1
Tumbleweed tomcat +10 9.0.97-1.1 openSUSE-SU-2024:14525-1

rocky 2 releases · 1 package

fixed 2
tomcat
rocky fixes for CVE-2024-52316
ReleasePackageFixed in
10 tomcat +7 1:10.1.36-1.el10_0
8 tomcat +7 1:9.0.120-1.el8_10

ubuntu 4 releases · 3 packages

affected 4
tomcat8 tomcat9 tomcat10
ubuntu fixes for CVE-2024-52316
ReleasePackageFixed in
18.04-ESM tomcat8 +1 affected
20.04-ESM tomcat9 affected
22.04 tomcat9 affected
24.04 tomcat10 affected

References

Show all 86 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.