CVE-2024-52316

CRITICAL
Published Nov 18, 2024 Modified Nov 7, 2025 CWE-391 CWE-754

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.

CVSS v3.1 Score

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

Weakness Type (CWE)

CWE-391 CWE-391
CWE-754 CWE-754

Affected Products

Vendor Product
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
apache tomcat
debian debian_linux

References

Frequently Asked Questions

What is CVE-2024-52316? +
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. It has a CVSS v3.1 base score of 9.8 (CRITICAL).
How severe is CVE-2024-52316? +
CVE-2024-52316 has a CVSS v3.1 score of 9.8 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2024-52316? +
CVE-2024-52316 affects products from apache, debian, specifically: debian_linux, tomcat. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-52316? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-52316 — free, no signup required.

Start Free Scan