Description
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.
Remediation
References
https://lists.apache.org/thread/hdksc59z3s7tm39x0pp33mtwdrt8qr67
Related Vulnerabilities
CVE-2022-31147 Vulnerability in maven package org.webjars:jquery-validation
CVE-2023-32071 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web-templates
CVE-2022-32549 Vulnerability in maven package org.apache.sling:org.apache.sling.api
CVE-2023-46674 Vulnerability in maven package org.elasticsearch:elasticsearch-hadoop
CVE-2023-36542 Vulnerability in maven package org.apache.nifi:nifi-cdc-mysql-processors