CVE-2023-41080: Apache Tomcat Apache Tomcat Open Redirect Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-q3mw-pvr8-9ggc
CVSS 6.1
CWE-601
Published
Advisory Summary

CVE-2023-41080 is a MODERATE (CVSS 6.1) apache tomcat open redirect vulnerability vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Apache Tomcat libraries in the Maven ecosystem. The issue involves apache tomcat open redirect vulnerability. Remediation is available by upgrading affected packages to version 11.0.0-M11, 10.1.13, 9.0.80, 8.5.93.

CVE-2023-41080 at a Glance

CVE Identifier CVE-2023-41080
GHSA Identifier GHSA-q3mw-pvr8-9ggc
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Apache Tomcat
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2023-41080

To remediate this vulnerability, upgrade all affected Apache Tomcat dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.tomcat:tomcat fixed: 11.0.0-M11
<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat</artifactId>
    <version>11.0.0-M11</version>
</dependency>
org.apache.tomcat:tomcat fixed: 10.1.13
<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat</artifactId>
    <version>10.1.13</version>
</dependency>
org.apache.tomcat:tomcat fixed: 9.0.80
<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat</artifactId>
    <version>9.0.80</version>
</dependency>
org.apache.tomcat:tomcat fixed: 8.5.93
<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat</artifactId>
    <version>8.5.93</version>
</dependency>
org.apache.tomcat.embed:tomcat-embed-core fixed: 8.5.93
<dependency>
    <groupId>org.apache.tomcat.embed</groupId>
    <artifactId>tomcat-embed-core</artifactId>
    <version>8.5.93</version>
</dependency>
org.apache.tomcat.embed:tomcat-embed-core fixed: 9.0.80
<dependency>
    <groupId>org.apache.tomcat.embed</groupId>
    <artifactId>tomcat-embed-core</artifactId>
    <version>9.0.80</version>
</dependency>
org.apache.tomcat.embed:tomcat-embed-core fixed: 10.1.13
<dependency>
    <groupId>org.apache.tomcat.embed</groupId>
    <artifactId>tomcat-embed-core</artifactId>
    <version>10.1.13</version>
</dependency>
org.apache.tomcat.embed:tomcat-embed-core fixed: 11.0.0-M11
<dependency>
    <groupId>org.apache.tomcat.embed</groupId>
    <artifactId>tomcat-embed-core</artifactId>
    <version>11.0.0-M11</version>
</dependency>
org.apache.tomcat:tomcat-catalina fixed: 10.1.13
<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat-catalina</artifactId>
    <version>10.1.13</version>
</dependency>
org.apache.tomcat:tomcat-catalina fixed: 9.0.80
<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat-catalina</artifactId>
    <version>9.0.80</version>
</dependency>
org.apache.tomcat:tomcat-catalina fixed: 8.5.93
<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat-catalina</artifactId>
    <version>8.5.93</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.tomcat

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2023-41080, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.tomcat

Analyze the terminal output to locate any version of Apache Tomcat in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 11.0.0-M11), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.tomcat command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Apache Tomcat, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2023-41080 Affected Apache Tomcat Versions

11 component(s)
Fixed Versions:
11.0.0-M1110.1.139.0.808.5.93
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.tomcat:tomcat
Maven
≥ 11.0.0-M1
< 11.0.0-M11
11.0.0-M11
org.apache.tomcat:tomcat
Maven
≥ 10.1.0-M1
< 10.1.13
10.1.13
org.apache.tomcat:tomcat
Maven
≥ 9.0.0-M1
< 9.0.80
9.0.80
org.apache.tomcat:tomcat
Maven
≥ 8.5.0
< 8.5.93
8.5.93
org.apache.tomcat.embed:tomcat-embed-core
Maven
≥ 8.5.0
< 8.5.93
8.5.93
org.apache.tomcat.embed:tomcat-embed-core
Maven
≥ 9.0.0-M1
< 9.0.80
9.0.80
org.apache.tomcat.embed:tomcat-embed-core
Maven
≥ 10.1.0-M1
< 10.1.13
10.1.13
org.apache.tomcat.embed:tomcat-embed-core
Maven
≥ 11.0.0-M1
< 11.0.0-M11
11.0.0-M11
org.apache.tomcat:tomcat-catalina
Maven
≥ 10.1.0-M1
< 10.1.13
10.1.13
org.apache.tomcat:tomcat-catalina
Maven
≥ 9.0.0-M1
< 9.0.80
9.0.80
org.apache.tomcat:tomcat-catalina
Maven
≥ 8.5.0
< 8.5.93
8.5.93

References

Frequently Asked Questions

What is CVE-2023-41080?
CVE-2023-41080 is a security vulnerability in Apache Tomcat involving Apache Tomcat Open Redirect vulnerability under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Apache Tomcat versions are affected?
Affected versions include releases prior to 11.0.0-M11, 10.1.13, 9.0.80, 8.5.93 across affected packages: org.apache.tomcat:tomcat, org.apache.tomcat.embed:tomcat-embed-core, org.apache.tomcat:tomcat-catalina.
What version fixes CVE-2023-41080?
Upgrading to 11.0.0-M11, 10.1.13, 9.0.80, 8.5.93 (or the latest patched release for your respective branch) resolves the vulnerability.
Is tomcat affected?
Yes, org.apache.tomcat:tomcat is affected in releases prior to 11.0.0-M11, 10.1.13, 9.0.80, 8.5.93. Upgrade your dependency to 11.0.0-M11, 10.1.13, 9.0.80, 8.5.93 or later.
Is tomcat-embed-core affected?
Yes, org.apache.tomcat.embed:tomcat-embed-core is affected in releases prior to 8.5.93, 9.0.80, 10.1.13, 11.0.0-M11. Upgrade your dependency to 8.5.93, 9.0.80, 10.1.13, 11.0.0-M11 or later.
What is the CVSS score of CVE-2023-41080?
CVE-2023-41080 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2023-41080?
CVE-2023-41080 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check Maven dependencies for CVE-2023-41080?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.tomcat'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-q3mw-pvr8-9ggc",
  "modified" : "2026-06-05T17:48:09Z",
  "published" : "2023-08-25T21:30:48Z",
  "aliases" : [ "CVE-2023-41080" ],
  "summary" : "Apache Tomcat Open Redirect vulnerability",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat:tomcat"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0-M1"
      }, {
        "fixed" : "11.0.0-M11"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat:tomcat"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.1.0-M1"
      }, {
        "fixed" : "10.1.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat:tomcat"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0-M1"
      }, {
        "fixed" : "9.0.80"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat:tomcat"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.5.0"
      }, {
        "fixed" : "8.5.93"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat.embed:tomcat-embed-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.5.0"
      }, {
        "fixed" : "8.5.93"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat.embed:tomcat-embed-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0-M1"
      }, {
        "fixed" : "9.0.80"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat.embed:tomcat-embed-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.1.0-M1"
      }, {
        "fixed" : "10.1.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat.embed:tomcat-embed-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0-M1"
      }, {
        "fixed" : "11.0.0-M11"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat:tomcat-catalina"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.1.0-M1"
      }, {
        "fixed" : "10.1.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat:tomcat-catalina"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0-M1"
      }, {
        "fixed" : "9.0.80"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat:tomcat-catalina"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.5.0"
      }, {
        "fixed" : "8.5.93"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-41080"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/tomcat/commit/4998ad745b67edeadefe541c94ed029b53933d3b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/tomcat/commit/77c0ce2d169efa248b64b992e547aad549ec906b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/tomcat/commit/bb4624a9f3e69d495182ebfa68d7983076407a27"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/tomcat/commit/e3703c9abb8fe0d5602f6ba8a8f11d4b6940815a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/tomcat"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/71wvwprtx2j2m54fovq9zr7gbm2wow2f"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20230921-0006"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2023/dsa-5521"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2023/dsa-5522"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-25T22:05:01Z",
    "nvd_published_at" : "2023-08-25T21:15:09Z"
  }
}