MEDIUM4.3
GHSA-2c9m-w27f-53rm
Apache Tomcat vulnerable to Unprotected Transport of Credentials
Quick fix
GHSA-2c9m-w27f-53rm — org.apache.tomcat:tomcat-catalina: upgrade to the fixed version with the command below.
# pom.xml: bump <version>11.0.0-M3</version> for org.apache.tomcat:tomcat-catalinaDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/org.apache.tomcat:tomcat-catalina
Introduced in:
11.0.0-M1Fixed in: 11.0.0-M3Fix
# pom.xml: bump <version>11.0.0-M3</version> for org.apache.tomcat:tomcat-catalinaMaven/org.apache.tomcat:tomcat-catalina
Introduced in:
10.1.0-M1Fixed in: 10.1.6Fix
# pom.xml: bump <version>10.1.6</version> for org.apache.tomcat:tomcat-catalinaMaven/org.apache.tomcat:tomcat-catalina
Introduced in:
9.0.0-M1Fixed in: 9.0.72Fix
# pom.xml: bump <version>9.0.72</version> for org.apache.tomcat:tomcat-catalinaMaven/org.apache.tomcat:tomcat-catalina
Introduced in:
8.5.0Fixed in: 8.5.86Fix
# pom.xml: bump <version>8.5.86</version> for org.apache.tomcat:tomcat-catalinaReferences
- https://nvd.nist.gov/vuln/detail/CVE-2023-28708[ADVISORY]
- https://github.com/apache/tomcat/commit/3b51230764da595bb19e8d0962dd8c69ab40dfab[WEB]
- https://github.com/apache/tomcat/commit/5b72c94e8b2c4ada63a1d91dc527bf4d8fd1f510[WEB]
- https://github.com/apache/tomcat/commit/c64d496dda1560b5df113be55fbfaefec349b50f[WEB]
- https://github.com/apache/tomcat/commit/f509bbf31fc00abe3d9f25ebfabca5e05173da5b[WEB]
- https://bz.apache.org/bugzilla/show_bug.cgi?id=66471[WEB]
- https://github.com/apache/tomcat[PACKAGE]
- https://lists.apache.org/thread/hdksc59z3s7tm39x0pp33mtwdrt8qr67[WEB]
- https://security.netapp.com/advisory/ntap-20230331-0012[WEB]
- https://tomcat.apache.org/security-10.html[WEB]
- https://tomcat.apache.org/security-11.html[WEB]
- https://tomcat.apache.org/security-8.html[WEB]
- https://tomcat.apache.org/security-9.html[WEB]