Skip to content
OpenAdvisories
Medium · 4.3 CVE-2023-28708 BIT-tomcat-2023-28708EUVD-2023-0829GHSA-2c9m-w27f-53rm

Apache Tomcat: JSESSIONID Cookie missing secure attribute in some configurations

Published Mar 22, 2023 · Updated Nov 4, 2025 · Assigned by apache

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 products

VendorProductAffectedFixed
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 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tomcat10 10.1.6-1 —
Debian 14 tomcat9 9.0.70-2 —
Debian 13 tomcat10 10.1.6-1 —
Debian 13 tomcat9 9.0.70-2 —
Debian 12 tomcat10 10.1.6-1 —
Debian 12 tomcat9 9.0.70-2 —
Debian 11 tomcat9 9.0.43-2~deb11u6 DSA-5381-1
Debian 10 tomcat9 9.0.31-1~deb10u8 DLA-3384-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 tomcat9 9.0.70-2ubuntu3 —
Ubuntu 20.04 LTS tomcat9 9.0.31-1ubuntu0.8 USN-7106-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS tomcat10 10.1.16-1ubuntu0.1~esm2 USN-7562-1
Ubuntu Pro 24.04 LTS tomcat9 9.0.70-2ubuntu0.1+esm2 USN-7562-1
Ubuntu Pro 22.04 LTS tomcat9 9.0.58-1ubuntu0.1+esm4 USN-7562-1, USN-7106-1
Ubuntu Pro 20.04 LTS tomcat9 9.0.31-1ubuntu0.9+esm2 USN-7562-1
Ubuntu Pro 18.04 LTS tomcat8 8.5.39-1ubuntu1~18.04.3+esm5 USN-7562-1
Ubuntu Pro 18.04 LTS tomcat9 9.0.16-3ubuntu0.18.04.2+esm4 USN-7562-1, USN-7106-1
Ubuntu Pro 16.04 LTS tomcat7 +1 No fix yet —
Ubuntu Pro 14.04 LTS tomcat7 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 tomcat +7 1:9.0.62-37.el9_3 RHSA-2023:6570
RHEL 8 tomcat +7 1:9.0.62-27.el8_9 RHSA-2023:7065
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.8 EUS tomcat +7 1:9.0.87-1.el8_8.2 RHSA-2024:3814
Red Hat JBoss Web Server 5 jws5-tomcat +11 9.0.62-15.redhat_00013.1.el7jws RHSA-2023:4909
Red Hat JBoss Web Server 5 jws5-tomcat-native 1.2.31-15.redhat_15.el7jws RHSA-2023:4909

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 tomcat +7 1:9.0.62-37.el9_3 ALSA-2023:6570
AlmaLinux 8 tomcat +7 1:9.0.62-27.el8_9 ALSA-2023:7065
ReleasePackageFixed inAdvisory
SLES 15 SP4 tomcat 9.0.43-150200.35.1 SUSE-SU-2023:1769-1
SLES 15 SP3 tomcat 9.0.43-150200.35.1 SUSE-SU-2023:1769-1
SLES 15 SP2 tomcat 9.0.43-150200.35.1 SUSE-SU-2023:1769-1
SLES 15 SP1 tomcat 9.0.36-150100.4.90.1 SUSE-SU-2023:1669-1
SLES 12 SP5 tomcat 9.0.36-3.102.1 SUSE-SU-2026:1058-1, SUSE-SU-2023:1672-1
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 tomcat 9.0.36-3.102.1 SUSE-SU-2023:1672-1
SLES for SAP 15 SP3 tomcat 9.0.43-150200.35.1 SUSE-SU-2023:1769-1
SLES for SAP 15 SP2 tomcat 9.0.43-150200.35.1 SUSE-SU-2023:1769-1
SLES for SAP 15 SP1 tomcat 9.0.36-150100.4.90.1 SUSE-SU-2023:1669-1
SLES for SAP 12 SP5 tomcat 9.0.36-3.102.1 SUSE-SU-2023:1672-1
SLES for SAP 12 SP4 tomcat 9.0.36-3.102.1 SUSE-SU-2023:1672-1
SLE HPC 15 SP3 tomcat 9.0.43-150200.35.1 SUSE-SU-2023:1769-1
SLE HPC 15 SP2 tomcat 9.0.43-150200.35.1 SUSE-SU-2023:1769-1
SLE HPC 15 SP1 tomcat 9.0.36-150100.4.90.1 SUSE-SU-2023:1669-1
SUSE OpenStack Cloud Crowbar 9 tomcat 9.0.36-3.102.1 SUSE-SU-2023:1672-1
SUSE OpenStack Cloud 9 tomcat 9.0.36-3.102.1 SUSE-SU-2023:1672-1
SUSE Manager Server 4.2 tomcat 9.0.43-150200.35.1 SUSE-SU-2023:1769-1
SUSE Enterprise Storage 7.1 tomcat 9.0.43-150200.35.1 SUSE-SU-2023:1769-1
SUSE Enterprise Storage 7 tomcat 9.0.43-150200.35.1 SUSE-SU-2023:1769-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tomcat 9.0.43-15.1 openSUSE-SU-2024:12821-1
openSUSE Tumbleweed tomcat10 10.1.14-1.1 openSUSE-SU-2024:13441-1
openSUSE Leap 15.4 tomcat 9.0.43-150200.35.1 SUSE-SU-2023:1769-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 tomcat9 +7 1:9.0.71-1.amzn2023.0.2 ALAS2023-2023-176
Amazon Linux 2 tomcat +9 7.0.76-10.amzn2.0.3 ALAS2-2023-2020

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 tomcat +7 1:9.0.62-37.el9_3 ELSA-2023-6570
Oracle Linux 8 tomcat +7 1:9.0.62-27.el8_9 ELSA-2023-7065

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat-catalina >= 11.0.0-M1, < 11.0.0-M3 11.0.0-M3 GHSA-2c9m-w27f-53rm
Maven org.apache.tomcat:tomcat-catalina >= 10.1.0-M1, < 10.1.6 10.1.6 GHSA-2c9m-w27f-53rm
Maven org.apache.tomcat:tomcat-catalina >= 9.0.0-M1, < 9.0.72 9.0.72 GHSA-2c9m-w27f-53rm
Maven org.apache.tomcat:tomcat-catalina >= 8.5.0, < 8.5.86 8.5.86 GHSA-2c9m-w27f-53rm

Advisories 33

References