CVE-2024-52316
tomcat: Apache Tomcat: Authentication bypass when using Jakarta Authentication API
Overview
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
| Ecosystem | Package | Vulnerable | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | apache-tomcat10 +1 | 10.1.34-1.ph5 |
Red Hat 4 releases · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in |
|---|---|---|
| 8 | tomcat +7 | 1:9.0.120-1.el8_10 |
amazon linux 1 release · 2 packages
| Release | Package | Fixed 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
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| tomcat10 | 10.1.34-0+deb12u1 | |
| tomcat9 | 9.0.70-2 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | tomcat8 +1 | affected |
| 20.04-ESM | tomcat9 | affected |
| 22.04 | tomcat9 | affected |
| 24.04 | tomcat10 | affected |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/11/18/2
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:68677
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-52316
- bugzilla.redhat.com https://bugzilla.redhat.com/2476511
- bugzilla.redhat.com https://bugzilla.redhat.com/2476513
- bugzilla.redhat.com https://bugzilla.redhat.com/2476516
- bugzilla.redhat.com https://bugzilla.redhat.com/2476519
- bugzilla.redhat.com https://bugzilla.redhat.com/2476520
- bugzilla.redhat.com https://bugzilla.redhat.com/2494669
- bugzilla.redhat.com https://bugzilla.redhat.com/2499917
Show all 86 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2499931
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2326972
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2332815
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2369253
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2388226
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2406588
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2406590
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2440430
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2440437
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2457037
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2457038
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2457039
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2457040
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2457044
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2476511
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2476512
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2476513
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2476516
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2476518
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2476519
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2476520
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2494668
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2494669
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2494675
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2494676
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2494678
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2494681
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2494688
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2499917
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2499931
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-52316
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-54677
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-46701
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-55668
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-55754
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-61795
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-66614
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-24733
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-24880
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-25854
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-29145
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34483
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-34487
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-41284
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-41293
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-42498
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-43512
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-43513
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-43514
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-43515
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-50229
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53404
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-53434
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-55276
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-55955
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-55956
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-55957
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-59083
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-59084
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2026-68677.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:68677
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/6d097a66746635df6880fe7662a792156b0eca14
- github.com https://github.com/apache/tomcat/commit/7532f9dc4a8c37ec958f79dc82c4924a6c539223
- github.com https://github.com/apache/tomcat/commit/7532f9dc4a8c37ec958f79dc82c4924a6c539223 (9.0.96)
- github.com https://github.com/apache/tomcat/commit/acc2f01395f895980f5d8a64573fcc1bade13369
- github.com https://github.com/apache/tomcat/commit/acc2f01395f895980f5d8a64573fcc1bade13369 (10.1.31)
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-52316.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-7497.html
- lists.apache.org https://lists.apache.org/thread/lopzlqh91jj9n334g02om08sbysdb928
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00009.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-52316
- security.netapp.com https://security.netapp.com/advisory/ntap-20250124-0003
- security.netapp.com https://security.netapp.com/advisory/ntap-20250124-0003/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-52316
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.