CVE-2023-28708
Apache Tomcat: JSESSIONID Cookie missing secure attribute in some configurations
Also known as BIT-tomcat-2023-28708, GHSA-2c9m-w27f-53rm
Mitigation
- Upgrade org.apache.tomcat:tomcat-catalina to one of 11.0.0-M3, 10.1.6, 9.0.72, 8.5.86 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.tomcat:tomcat-catalina (>= 11.0.0-M1, < 11.0.0-M3)
- Anyone running Apache Software Foundation Apache Tomcat >= 11.0.0-M1, <= 11.0.0-M2; >= 10.1.0-M1, <= 10.1.5; >= 9.0.0-M1, <= 9.0.71; >= 8.5.0, <= 8.5.85
Vulnerability facts
- Affected
- org.apache.tomcat:tomcat-catalina >= 11.0.0-M1, < 11.0.0-M3
- Fixed in
- 11.0.0-M3, 10.1.6, 9.0.72, 8.5.86
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 4.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: Low
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.26% chance of exploitation in 30 days (percentile 70, 2026-11-26)
- CWE
- CWE-523
- Modified
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. Older, EOL versions may also be affected.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.tomcat:tomcat-catalina | >= 11.0.0-M1, < 11.0.0-M3 | 11.0.0-M3, 10.1.6, 9.0.72, 8.5.86 | osv |
| Apache Software Foundation Apache Tomcat | >= 11.0.0-M1, <= 11.0.0-M2; >= 10.1.0-M1, <= 10.1.5; >= 9.0.0-M1, <= 9.0.71; >= 8.5.0, <= 8.5.85 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-28708. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-28708.md Affected: org.apache.tomcat:tomcat-catalina >= 11.0.0-M1, < 11.0.0-M3 Fixed in: 11.0.0-M3, 10.1.6, 9.0.72, 8.5.86 Steps: 1. Search this machine and project for org.apache.tomcat:tomcat-catalina (Maven), Apache Software Foundation Apache Tomcat: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/apache/tomcat/commit/3b51230764da595bb19e8d0962dd8c69ab40dfab
- https://github.com/apache/tomcat/commit/5b72c94e8b2c4ada63a1d91dc527bf4d8fd1f510
- https://github.com/apache/tomcat/commit/c64d496dda1560b5df113be55fbfaefec349b50f
- https://github.com/apache/tomcat/commit/f509bbf31fc00abe3d9f25ebfabca5e05173da5b
Other
- https://security.netapp.com/advisory/ntap-20230331-0012/
- https://bz.apache.org/bugzilla/show_bug.cgi?id=66471
- https://github.com/apache/tomcat
- https://security.netapp.com/advisory/ntap-20230331-0012
- https://tomcat.apache.org/security-10.html
- https://tomcat.apache.org/security-11.html
- https://tomcat.apache.org/security-8.html
- https://tomcat.apache.org/security-9.html
FAQ
Is CVE-2023-28708 being exploited?
There is no confirmed exploitation: CVE-2023-28708 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-28708?
Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2023-28708?
org.apache.tomcat:tomcat-catalina >= 11.0.0-M1, < 11.0.0-M3.
Is there a fix for CVE-2023-28708?
Yes. Fixed in 11.0.0-M3, 10.1.6, 9.0.72, 8.5.86. Upgrade org.apache.tomcat:tomcat-catalina to one of 11.0.0-M3, 10.1.6, 9.0.72, 8.5.86 (or later in the same release line).
How do I check if I'm affected by CVE-2023-28708?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.