Skip to content

← Public intelligence

Maven package

org.apache.tomcat:tomcat-catalina

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

44 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.2MavenPublished

    Apache Tomcat Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability

    CVE-2024-56337 · GHSA-27hp-xhwr-wr2m

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 11.0.0-M1, < 11.0.2; >= 10.1.0-M1, < 10.1.34
    Fixed in
    10.1.3411.0.2· Vendor fix available
    Issue
    Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97. The mitigation for CVE-2024-50379 was incomplete. Users running Tomcat on a case insensitive file system with the default servlet write enabled (readonly initialisation parameter set to the non-default value of false) may need additional configuration to fully mitigate CVE-2024-50379 depending on which version of Java they are using with Tomcat: - running on Java 8 or Java 11: the system property sun.io.useCanonCaches must be explicitly set to false (it defaults to true) - running on Java 17: the system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false) - running on Java 21 onwards: no further configuration is required (the system property and the problematic cache have been removed) Tomcat 11.0.3, 10.1.35 and 9.0.99 onwards will include checks…

    Recommended action: Upgrade to 11.0.2 or 10.1.34 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 7.2MavenPublished

    Apache Tomcat Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability

    CVE-2024-50379 · GHSA-5j33-cvvr-w245

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 11.0.0-M1, < 11.0.2; >= 10.1.0-M1, < 10.1.34; >= 9.0.0.M1, < 9.0.98; >= 8.5.0, <= 8.5.100
    Fixed in
    9.0.9810.1.3411.0.2· Partial vendor fix
    Issue
    Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default configuration). This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97. 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, older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.

    Recommended action: Upgrade to 11.0.2, 10.1.34 or 9.0.98 by release line; some affected versions have no fix yet, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Critical, CVSS 9.8MavenPublished

    Apache Tomcat - Authentication Bypass

    CVE-2024-52316 · GHSA-xcpr-7mr4-h4xq

    Affected
    • Maven org.apache.tomcat:tomcat-catalina < 9.0.96; >= 10.1.0-M1, < 10.1.30; >= 11.0.0-M1, <= 11.0.0-M26
    Fixed in
    11.0.19.0.9610.1.30· Vendor fix available
    Issue
    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. Users are recommended to upgrade to version 11.0.0, 10.1.31 or 9.0.96, which fix the issue.

    Recommended action: Upgrade to 11.0.1, 10.1.30 or 9.0.96 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. High, CVSS 7.5MavenPublished

    Apache Tomcat Improper Input Validation vulnerability

    CVE-2023-46589 · GHSA-fccv-jmmp-qg76

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 11.0.0-M1, < 11.0.0-M11; >= 10.1.0-M1, < 10.1.16; >= 9.0.0-M1, < 9.0.83; >= 8.5.0, < 8.5.96
    Fixed in
    9.0.838.5.9610.1.1611.0.0-M11· Vendor fix available
    Issue
    Improper Input Validation vulnerability in Apache Tomcat. Tomcat from 11.0.0-M1 through 11.0.0-M10, from 10.1.0-M1 through 10.1.15, from 9.0.0-M1 through 9.0.82, and from 8.5.0 through 8.5.95 did not correctly parse HTTP trailer headers. A trailer header that exceeded the header size limit could cause Tomcat to treat a single request as multiple requests leading to the possibility of request smuggling when behind a reverse proxy. Older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.0-M11 onwards, 10.1.16 onwards, 9.0.83 onwards or 8.5.96 onwards, which fix the issue.

    Recommended action: Upgrade to 11.0.0-M11 (pre-release), 10.1.16, 9.0.83 or 8.5.96 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. Medium, CVSS 5.3MavenPublished

    Apache Tomcat Incomplete Cleanup vulnerability

    CVE-2023-42795 · GHSA-g8pj-r55q-5c2v

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 11.0.0-M1, < 11.0.0-M12; >= 10.1.0-M1, < 10.1.14; >= 9.0.0-M1, < 9.0.81; >= 8.5.0, < 8.5.94
    Fixed in
    10.1.149.0.8111.0.0-M128.5.94· Vendor fix available
    Issue
    Incomplete Cleanup vulnerability in Apache Tomcat. When recycling various internal objects in Apache Tomcat from 11.0.0-M1 through 11.0.0-M11, from 10.1.0-M1 through 10.1.13, from 9.0.0-M1 through 9.0.80 and from 8.5.0 through 8.5.93, an error could cause Tomcat to skip some parts of the recycling process leading to information leaking from the current request/response to the next. Older, EOL versions may also be affected. Users are recommended to upgrade to version 11.0.0-M12 onwards, 10.1.14 onwards, 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.

    Recommended action: Upgrade to 11.0.0-M12 (pre-release), 10.1.14, 9.0.81 or 8.5.94 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. Medium, CVSS 6.1MavenPublished

    Apache Tomcat Open Redirect vulnerability

    CVE-2023-41080 · GHSA-q3mw-pvr8-9ggc

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 10.1.0-M1, < 10.1.13; >= 9.0.0-M1, < 9.0.80; >= 8.5.0, < 8.5.93
    Fixed in
    10.1.138.5.939.0.80· Vendor fix available
    Issue
    URL Redirection to Untrusted Site ('Open Redirect') vulnerability in FORM authentication feature Apache Tomcat.This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M10, from 10.1.0-M1 through 10.0.12, from 9.0.0-M1 through 9.0.79 and from 8.5.0 through 8.5.92. Older, EOL versions may also be affected. The vulnerability is limited to the ROOT (default) web application.

    Recommended action: Upgrade to 10.1.13, 9.0.80 or 8.5.93 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  7. Medium, CVSS 4.3MavenPublished

    Apache Tomcat vulnerable to Unprotected Transport of Credentials

    CVE-2023-28708 · GHSA-2c9m-w27f-53rm

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 11.0.0-M1, < 11.0.0-M3; >= 10.1.0-M1, < 10.1.6; >= 9.0.0-M1, < 9.0.72; >= 8.5.0, < 8.5.86
    Fixed in
    8.5.8611.0.0-M310.1.69.0.72· Vendor fix available
    Issue
    When using the RemoteIpFilter with requests received from a reverse proxy via HTTP that include the X-Forwarded-Proto header set to https, session cookies created by Apache Tomcat 11.0.0-M1 to 11.0.0.-M2, 10.1.0-M1 to 10.1.5, 9.0.0-M1 to 9.0.71 and 8.5.0 to 8.5.85 did not include the secure attribute. This could result in the user agent transmitting the session cookie over an insecure channel.

    Recommended action: Upgrade to 11.0.0-M3 (pre-release), 10.1.6, 9.0.72 or 8.5.86 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  8. High, CVSS 7.5MavenPublished

    Apache Commons FileUpload denial of service vulnerability

    CVE-2023-24998 · GHSA-hfrx-6qgj-fp6c

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 10.1.0-M1, < 10.1.5; >= 11.0.0-M2, < 11.0.0-M5; >= 8.5.85, < 8.5.88; >= 9.0.0-M1, < 9.0.71
    Fixed in
    10.1.511.0.0-M59.0.718.5.88· Vendor fix available
    Issue
    Apache Commons FileUpload before 1.5 does not limit the number of request parts to be processed resulting in the possibility of an attacker triggering a DoS with a malicious upload or series of uploads. Note that, like all of the file upload limits, the new configuration option (FileUploadBase#setFileCountMax) is not enabled by default and must be explicitly configured.

    Recommended action: Upgrade to 11.0.0-M5 (pre-release), 10.1.5, 9.0.71 or 8.5.88 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  9. High, CVSS 7.5MavenPublished

    Apache Tomcat improperly escapes input from JsonErrorReportValve

    CVE-2022-45143 · GHSA-rq2w-37h9-vg94

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 10.1.0, <= 10.1.1
    Fixed in
    10.1.2· Vendor fix available
    Issue
    The JsonErrorReportValve in Apache Tomcat 8.5.83, 9.0.40 to 9.0.68 and 10.1.0-M1 to 10.1.1 does not escape the type, message or description values. In some circumstances these are constructed from user provided data and it was therefore possible for users to supply values that invalidated or manipulated the JSON output.

    Recommended action: Upgrade to 10.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  10. UnratedMavenPublished

    Improper Authentication in Apache Tomcat

    CVE-2012-5886 · GHSA-9xrj-439h-62hg

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 5.5.0, < 5.5.36; >= 6.0.0, < 6.0.36; >= 7.0.0, < 7.0.30
    Fixed in
    5.5.366.0.367.0.30· Vendor fix available
    Issue
    The HTTP Digest Access Authentication implementation in Apache Tomcat 5.5.x before 5.5.36, 6.x before 6.0.36, and 7.x before 7.0.30 caches information about the authenticated user within the session state, which makes it easier for remote attackers to bypass authentication via vectors related to the session ID.

    Recommended action: Upgrade to 7.0.30, 6.0.36 or 5.5.36 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  11. UnratedMavenPublished

    Missing XML Validation in Apache Tomcat

    CVE-2014-0119 · GHSA-prc3-7f44-w48j

    Affected
    • Maven org.apache.tomcat:tomcat-catalina < 6.0.40; >= 7.0.0, < 7.0.54; >= 8.0.0, < 8.0.6
    Fixed in
    8.0.66.0.407.0.54· Vendor fix available
    Issue
    Apache Tomcat before 6.0.40, 7.x before 7.0.54, and 8.x before 8.0.6 does not properly constrain the class loader that accesses the XML parser used with an XSLT stylesheet, which allows remote attackers to (1) read arbitrary files via a crafted web application that provides an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue, or (2) read files associated with different web applications on a single Tomcat instance via a crafted web application.

    Recommended action: Upgrade to 8.0.6, 7.0.54 or 6.0.40 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  12. UnratedMavenPublished

    Improper Input Validation in Apache Tomcat

    CVE-2014-0096 · GHSA-qprx-q2r7-3rx6

    Affected
    • Maven org.apache.tomcat:tomcat-catalina < 6.0.40; >= 7.0.0, < 7.0.54; >= 8.0.0, < 8.0.6
    Fixed in
    8.0.66.0.407.0.54· Vendor fix available
    Issue
    java/org/apache/catalina/servlets/DefaultServlet.java in the default servlet in Apache Tomcat before 6.0.40, 7.x before 7.0.53, and 8.x before 8.0.4 does not properly restrict XSLT stylesheets, which allows remote attackers to bypass security-manager restrictions and read arbitrary files via a crafted web application that provides an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue.

    Recommended action: Upgrade to 8.0.6, 7.0.54 or 6.0.40 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  13. High, CVSS 7.5MavenPublished

    Exposure of Sensitive Information to an Unauthorized Actor in Apache Tomcat

    CVE-2017-12616 · GHSA-8qq4-8jvq-mfw4

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 7.0.0, <= 7.0.80
    Fixed in
    7.0.81· Vendor fix available
    Issue
    When using a VirtualDirContext with Apache Tomcat 7.0.0 to 7.0.80 it was possible to bypass security constraints and/or view the source code of JSPs for resources served by the VirtualDirContext using a specially crafted request.

    Recommended action: Upgrade to 7.0.81 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  14. High, CVSS 8.1Exploited · CISA KEVMavenPublished

    Unrestricted Upload of File with Dangerous Type Apache Tomcat

    CVE-2017-12617 · GHSA-xjgh-84hx-56c5

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 9.0.0.M1, <= 9.0.0M27; >= 8.5.0, <= 8.5.22; >= 8.0.0-RC1, <= 8.0.46; >= 7.0.0, <= 7.0.81
    Fixed in
    8.0.479.0.18.5.237.0.82· Vendor fix available
    Issue
    When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default servlet to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.

    Recommended action: Upgrade to 9.0.1, 8.5.23, 8.0.47 or 7.0.82 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.com (1)cisa.gov (2)Source checked Evidence →
  15. Critical, CVSS 9.1MavenPublished

    Exposure of Resource to Wrong Sphere in Apache Tomcat

    CVE-2017-5648 · GHSA-3vx3-xf6q-r5xp

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 9.0.0.M1, <= 9.0.0.M17; >= 8.5.0, <= 8.5.12; >= 8.0.0, <= 8.0.41; >= 7.0.0, <= 7.0.75
    Fixed in
    9.0.0.M187.0.768.5.138.0.42· Vendor fix available
    Issue
    While investigating bug 60718, it was noticed that some calls to application listeners in Apache Tomcat 9.0.0.M1 to 9.0.0.M17, 8.5.0 to 8.5.11, 8.0.0.RC1 to 8.0.41, and 7.0.0 to 7.0.75 did not use the appropriate facade object. When running an untrusted application under a SecurityManager, it was therefore possible for that untrusted application to retain a reference to the request or response object and thereby access and/or modify information associated with another web application.

    Recommended action: Upgrade to 9.0.0.M18, 8.5.13, 8.0.42 or 7.0.76 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  16. High, CVSS 8.1MavenPublished

    Improper Access Control in Apache Tomcat

    CVE-2016-5388 · GHSA-v646-rx6w-r3qq

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 7.0.0, < 7.0.72; >= 8.0.0, < 8.5.5
    Fixed in
    7.0.728.5.5· Vendor fix available
    Issue
    Apache Tomcat 7.x through 7.0.70 and 8.x through 8.5.4, when the CGI Servlet is enabled, follows RFC 3875 section 4.1.18 and therefore does not protect applications from the presence of untrusted client data in the HTTPPROXY environment variable, which might allow remote attackers to redirect an application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue. NOTE: the vendor states "A mitigation is planned for future releases of Tomcat, tracked as CVE-2016-5388"; in other words, this is not a CVE ID for a vulnerability.

    Recommended action: Upgrade to 8.5.5 or 7.0.72 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  17. Critical, CVSS 9.8Exploited · CISA KEVMavenPublished

    Apache Tomcat Improper Access Control vulnerability

    CVE-2016-8735 · GHSA-cw54-59pw-4g8c

    Affected
    • Maven org.apache.tomcat:tomcat-catalina < 6.0.48; >= 7.0.0, < 7.0.73; >= 8.0.0, < 8.0.39; >= 8.5.0, < 8.5.7; >= 9.0.0.M1, < 9.0.0.M12
    Fixed in
    7.0.739.0.0.M126.0.488.5.78.0.39· Vendor fix available
    Issue
    Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x before 9.0.0.M12 if JmxRemoteLifecycleListener is used and an attacker can reach JMX ports. The issue exists because this listener wasn't updated for consistency with the CVE-2016-3427 Oracle patch that affected credential types.

    Recommended action: Upgrade to 9.0.0.M12, 8.5.7, 8.0.39 or 2 more by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:cisa.gov (1)github.com (2)Source checked Evidence →
  18. High, CVSS 7.0MavenPublished

    Potential remote code execution in Apache Tomcat

    CVE-2020-9484 · GHSA-344f-f5vg-2jfj

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 10.0.0-M1, <= 10.0.0-M4; >= 9.0.0, < 9.0.35; >= 8.0.0, < 8.5.55; >= 7.0.0, < 7.0.104
    Fixed in
    8.5.557.0.10410.0.0-M59.0.35· Vendor fix available
    Issue
    When using Apache Tomcat versions 10.0.0-M1 to 10.0.0-M4, 9.0.0.M1 to 9.0.34, 8.5.0 to 8.5.54 and 7.0.0 to 7.0.103 if a) an attacker is able to control the contents and name of a file on the server; and b) the server is configured to use the PersistenceManager with a FileStore; and c) the PersistenceManager is configured with sessionAttributeValueClassNameFilter="null" (the default unless a SecurityManager is used) or a sufficiently lax filter to allow the attacker provided object to be deserialized; and d) the attacker knows the relative file path from the storage location used by FileStore to the file the attacker has control over; then, using a specifically crafted request, the attacker will be able to trigger remote code execution via deserialization of the file under their control. Note that all of conditions a) to d) must be true for the attack to succeed.

    Recommended action: Upgrade to 10.0.0-M5 (pre-release), 9.0.35, 8.5.55 or 7.0.104 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  19. Medium, CVSS 6.1MavenPublished

    Cross-site scripting in Apache Tomcat

    CVE-2019-0221 · GHSA-jjpq-gp5q-8q6w

    Affected
    • Maven org.apache.tomcat:tomcat-catalina >= 9.0.0, < 9.0.17; >= 8.5.0, < 8.5.40; >= 7.0.0, < 7.0.94
    Fixed in
    7.0.949.0.178.5.40· Vendor fix available
    Issue
    The SSI printenv command in Apache Tomcat 9.0.0.M1 to 9.0.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 echoes user provided data without escaping and is, therefore, vulnerable to XSS. SSI is disabled by default. The printenv command is intended for debugging and is unlikely to be present in a production website.

    Recommended action: Upgrade to 9.0.17, 8.5.40 or 7.0.94 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →