Skip to content
OpenAdvisories
Medium · 5.9 CVE-2018-8037 EUVD-2018-0523GHSA-6v52-mj5r-7j2m

Apache Tomcat Race Condition vulnerability

Published Aug 2, 2018 · Updated Sep 16, 2024 · Assigned by apache

Description

If an async request was completed by the application at the same time as the container triggered the async timeout, a race condition existed that could result in a user seeing a response intended for a different user. An additional issue was present in the NIO and NIO2 connectors that did not correctly track the closure of the connection when an async request was completed by the application and timed out by the container at the same time. This could also result in a user seeing a response intended for another user. Versions Affected: Apache Tomcat 9.0.0.M9 to 9.0.9 and 8.5.5 to 8.5.31.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Tomcat 9.0.0.M9 to 9.0.9, 8.5.5 to 8.5.31 —

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 9 tomcat8 8.5.14-1+deb9u3 DSA-4281-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS tomcat8 8.5.39-1ubuntu1~18.04.1 —
ReleasePackageFixed inAdvisory
RHEL 8 apache-commons-collections 3.2.2-10.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 apache-commons-lang 2.6-21.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 bea-stax +1 1.2.0-16.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 glassfish-fastinfoset 1.2.13-9.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 glassfish-jaxb +3 2.2.11-11.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 glassfish-jaxb-api 2.2.12-8.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 jackson-core +4 2.9.8-1.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 jackson-module-jaxb-annotations 2.7.6-4.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 jakarta-commons-httpclient 1:3.1-28.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 javassist +1 3.18.1-8.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 pki-servlet-4.0-api +1 1:9.0.7-14.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 python-nss +2 1.0.1-10.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 relaxngDatatype 2011.1-7.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 resteasy 3.0.26-3.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 slf4j +1 1.7.25-4.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 stax-ex 1.7.7-8.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 velocity 1.7-24.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 xalan-j2 2.7.1-38.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 xerces-j2 2.11.0-34.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 xml-commons-apis 1.4.01-25.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 xml-commons-resolver 1.2-26.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 xmlstreambuffer 1.5.4-8.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
RHEL 8 xsom 0-19.20110809svn.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss Web Server 5 jws5-tomcat +10 9.0.7-12.redhat_12.1.el6jws RHSA-2018:2868

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 apache-commons-collections 3.2.2-10.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 apache-commons-lang 2.6-21.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 bea-stax-api 1.2.0-16.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 glassfish-fastinfoset 1.2.13-9.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 glassfish-jaxb-api 2.2.12-8.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 glassfish-jaxb-core +2 2.2.11-11.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 jackson-module-jaxb-annotations 2.7.6-4.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 jakarta-commons-httpclient 1:3.1-28.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 javassist +1 3.18.1-8.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 python3-nss +1 1.0.1-10.module_el8.5.0+150+5f0dbea0.alma ALSA-2019:1529
AlmaLinux 8 relaxngDatatype 2011.1-7.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 slf4j 1.7.25-4.module_el8.5.0+2577+9e95fe00 ALSA-2019:1529
AlmaLinux 8 slf4j-jdk14 1.7.25-4.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 stax-ex 1.7.7-8.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 velocity 1.7-24.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 xalan-j2 2.7.1-38.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 xerces-j2 2.11.0-34.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 xml-commons-apis 1.4.01-25.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 xml-commons-resolver 1.2-26.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 xmlstreambuffer 1.5.4-8.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529
AlmaLinux 8 xsom 0-19.20110809svn.module_el8.5.0+150+5f0dbea0 ALSA-2019:1529

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 apache-commons-collections 3.2.2-10.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 apache-commons-lang 2.6-21.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 bea-stax 1.2.0-16.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 glassfish-fastinfoset 1.2.13-9.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 glassfish-jaxb 2.2.11-11.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 glassfish-jaxb-api 2.2.12-8.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 jackson-module-jaxb-annotations 2.7.6-4.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 jakarta-commons-httpclient 1:3.1-28.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 javassist 3.18.1-8.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 python-nss 1.0.1-10.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 relaxngDatatype 2011.1-7.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 resteasy 3.0.26-3.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 slf4j 1.7.25-4.module+el8.3.0+74+855e3f5d RLSA-2019:1529
Rocky Linux 8 stax-ex 1.7.7-8.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 velocity 1.7-24.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 xalan-j2 2.7.1-38.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 xerces-j2 2.11.0-34.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 xml-commons-apis 1.4.01-25.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 xml-commons-resolver 1.2-26.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 xmlstreambuffer 1.5.4-8.module+el8.3.0+53+ea062990 RLSA-2019:1529
Rocky Linux 8 xsom 0-19.20110809svn.module+el8.3.0+53+ea062990 RLSA-2019:1529
ReleasePackageFixed inAdvisory
SLES 15 tomcat 9.0.10-3.7.1 SUSE-SU-2018:3011-1
SLES 12 SP3 tomcat 8.0.53-29.13.1 SUSE-SU-2018:2699-1
SLES 12 SP1 tomcat 8.0.53-10.35.1 SUSE-SU-2018:3388-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 tomcat 8.0.53-29.13.1 SUSE-SU-2018:2699-1
SLES for SAP 12 SP1 tomcat 8.0.53-10.35.1 SUSE-SU-2018:3388-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tomcat 9.0.36-8.4 openSUSE-SU-2024:11468-1
openSUSE Tumbleweed tomcat10 10.1.14-1.1 openSUSE-SU-2024:13441-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 apache-commons-collections 3.2.2-10.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 apache-commons-lang 2.6-21.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 bea-stax-api 1.2.0-16.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 glassfish-fastinfoset 1.2.13-9.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 glassfish-jaxb-api 2.2.12-8.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 glassfish-jaxb-core +2 2.2.11-11.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 jackson-core +4 2.9.8-1.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 jackson-module-jaxb-annotations 2.7.6-4.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 jakarta-commons-httpclient 1:3.1-28.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 javassist +1 3.18.1-8.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 pki-servlet-4.0-api +1 1:9.0.7-14.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 python3-nss +1 1.0.1-10.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 relaxngDatatype 2011.1-7.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 resteasy 3.0.26-3.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 slf4j +1 1.7.25-4.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 stax-ex 1.7.7-8.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 velocity 1.7-24.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 xalan-j2 2.7.1-38.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 xerces-j2 2.11.0-34.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 xml-commons-apis 1.4.01-25.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 xml-commons-resolver 1.2-26.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 xmlstreambuffer 1.5.4-8.module+el8.0.0+5231+3e842911 ELSA-2019-1529
Oracle Linux 8 xsom 0-19.20110809svn.module+el8.0.0+5231+3e842911 ELSA-2019-1529

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat.embed:tomcat-embed-core >= 9.0.0.M9, < 9.0.10 9.0.10 GHSA-6v52-mj5r-7j2m
Maven org.apache.tomcat.embed:tomcat-embed-core >= 8.5.5, < 8.5.32 8.5.32 GHSA-6v52-mj5r-7j2m

Advisories 13

References