ADVISORIES

GitHub Advisory Database

GHSA-2c9m-w27f-53rm

Apache Tomcat vulnerable to Unprotected Transport of Credentials

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.tomcat:tomcat-catalina
From 11.0.0-M1 before 11.0.0-M3 (fixed in 11.0.0-M3)
Mavenorg.apache.tomcat:tomcat-catalina
From 10.1.0-M1 before 10.1.6 (fixed in 10.1.6)
Mavenorg.apache.tomcat:tomcat-catalina
From 9.0.0-M1 before 9.0.72 (fixed in 9.0.72)
Mavenorg.apache.tomcat:tomcat-catalina
From 8.5.0 before 8.5.86 (fixed in 8.5.86)

References