CVE-2023-28708: 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...
Medium CVSS 4.3
- CVE id
- CVE-2023-28708
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Apache Tomcat Runtimes and servers |
>= 8.5.0, < 8.5.86 >= 9.0.0, < 9.0.72 >= 10.1.0, < 10.1.6 |
8.5.86, 9.0.72, 10.1.6 |
How to fix it
Upgrade Apache Tomcat to the fixed release of the line you run: 8.5.86, 9.0.72, 10.1.6.
catalina.sh version
- Install the patched Tomcat release of your branch (the tomcat image tag, or your tomcat packages) and restart it.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
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.
Older, EOL versions may also be affected.
References
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.