Skip to content
Heist/ feed
Back to feed
Medium

Apache Tomcat: JSESSIONID Cookie missing secure attribute in some configurations

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-28708
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:45 UTC · Revision 1

Source evidence

Apache Tomcat: JSESSIONID Cookie missing secure attribute in some configurations

core-osv · Original source

Published 22 Mar 2023, 10:10 UTC

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.

osv:CVE-2023-28708
Complete source record
{
  "id": "547f902db2265005fa45da6c22a0a4d2b644d4db24be3ed7129325b1eb88aefd",
  "url": "https://osv.dev/vulnerability/CVE-2023-28708",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache Tomcat: JSESSIONID Cookie missing secure attribute in some configurations",
    "summary": "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.",
    "evidence": "osv:CVE-2023-28708",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-28708",
      "aliases": [
        "BIT-tomcat-2023-28708",
        "CVE-2023-28708",
        "GHSA-2c9m-w27f-53rm"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/tomcat",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e37b977db6f47e4380ad67114a49e8568951c953"
                },
                {
                  "fixed": "0bf2722f4652674e321a0e22e72dca75d2ea8275"
                },
                {
                  "introduced": "0"
                },
                {
                  "fixed": "7754d319b2a8866b5bcdf1ea0f35e68470320295"
                },
                {
                  "fixed": "9829c929059f96605a3fb870700b5887970d7203"
                },
                {
                  "introduced": "59c81e30e2f64f5e8c1db78c4860c51850dfb0bd"
                },
                {
                  "last_affected": "4b03c23ad60e678c1d1a85df815fb6cd8d14ca67"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "8.5.0"
                      },
                      {
                        "fixed": "8.5.86"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "9.0.72"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "10.1.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:tomcat:11.0.0:milestone1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.0.0-milestone1"
                      },
                      {
                        "last_affected": "11.0.0-milestone1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:tomcat:11.0.0:milestone2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "11.0.0-milestone2"
                      },
                      {
                        "last_affected": "11.0.0-milestone2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "11.0.0-milestone1",
            "11.0.0-milestone2",
            "11.0.0-M2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-28708.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.020617029Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28708.json",
        "https://lists.apache.org/thread/hdksc59z3s7tm39x0pp33mtwdrt8qr67",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-28708",
        "https://security.netapp.com/advisory/ntap-20230331-0012/"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-523"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "11.0.0-M1"
                  },
                  {
                    "last_affected": "11.0.0-M2"
                  },
                  {
                    "introduced": "10.1.0-M1"
                  },
                  {
                    "last_affected": "10.1.5"
                  },
                  {
                    "introduced": "9.0.0-M1"
                  },
                  {
                    "last_affected": "9.0.71"
                  },
                  {
                    "introduced": "8.5.0"
                  },
                  {
                    "last_affected": "8.5.85"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/28xxx/CVE-2023-28708.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-28708",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521913,
  "published_at": "2023-03-22T10:10:58.956+00:00"
}