Uncaught Exception Affecting org.apache.tomcat.embed:tomcat-embed-core package, versions [9.0.0.M1,9.0.96) [10.1.0-M1,10.1.31) [11.0.0-M1,11.0.0)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-JAVA-ORGAPACHETOMCATEMBED-8383920
- published 19 Nov 2024
- disclosed 18 Nov 2024
- credit Tomcat Security Team
Introduced: 18 Nov 2024
New CVE-2024-52316 Open this link in a new tabHow to fix?
Upgrade org.apache.tomcat.embed:tomcat-embed-core
to version 9.0.96, 10.1.31, 11.0.0 or higher.
Overview
org.apache.tomcat.embed:tomcat-embed-core is a Core Tomcat implementation.
Affected versions of this package are vulnerable to Uncaught Exception due to the custom Jakarta Authentication ServerAuthContext
component which may throw an exception during the authentication process without setting an HTTP status to indicate failure. An attacker can gain unauthorized access by exploiting this unchecked error condition.
Note:
This is only exploitable if Tomcat is configured to use a custom Jakarta Authentication
ServerAuthContext
component that behaves in this way. According to the maintainers, no such cases are known.