Skip to content
Fencer Vulns
medium 5.9

CVE-2018-8037 json

Apache Tomcat Race Condition vulnerability

published 2018-08-02 8 y ago modified 2026-06-17 4 mo ago also GHSA-6v52-mj5r-7j2m , EUVD-2018-0523

cvss
5.9
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
11.2%
EPSS 11.2% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.apache.tomcat.embed:tomcat-embed-core 8.5.32, 9.0.10
  • tomcat8 Ubuntu 18.04 LTS 8.5.39-1ubuntu1~18.04.1

ubuntu advisories UBUNTU-CVE-2018-8037

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • xsom RHEL 8 0-19.20110809svn.module+el8.0.0+3248+9d514f3b
  • slf4j RHEL 8 1.7.25-4.module+el8.0.0+3248+9d514f3b
  • stax-ex RHEL 8 1.7.7-8.module+el8.0.0+3248+9d514f3b
  • bea-stax RHEL 8 1.2.0-16.module+el8.0.0+3248+9d514f3b
  • resteasy RHEL 8 3.0.26-3.module+el8.0.0+3248+9d514f3b
  • velocity RHEL 8 1.7-24.module+el8.0.0+3248+9d514f3b
  • xalan-j2 RHEL 8 2.7.1-38.module+el8.0.0+3248+9d514f3b
  • javassist RHEL 8 3.18.1-8.module+el8.0.0+3248+9d514f3b

red hat advisories RHSA-2019:1529RHSA-2018:2868

  • tomcat SLE Module for Web and Scripting 15 9.0.10-3.7.1
  • tomcat SLES for SAP 12 SP3, SLES 12 SP3 8.0.53-29.13.1
  • tomcat SLES for SAP 12 SP1, SLES 12 SP1-LTSS 8.0.53-10.35.1

suse advisories SUSE-SU-2018:3011-1SUSE-SU-2018:3388-1SUSE-SU-2018:2699-1

  • tomcat openSUSE Tumbleweed 9.0.36-8.4
  • tomcat10 openSUSE Tumbleweed 10.1.14-1.1

opensuse advisories openSUSE-SU-2024:11468-1openSUSE-SU-2024:13441-1

  • xsom AlmaLinux 8 0-19.20110809svn.module_el8.5.0+150+5f0dbea0
  • xsom AlmaLinux 8 0-19.20110809svn.module_el8.5.0+2577+9e95fe00
  • slf4j AlmaLinux 8 1.7.25-4.module_el8.6.0+2752+f1f3449e
  • slf4j AlmaLinux 8 1.7.25-4.module_el8.5.0+2577+9e95fe00
  • stax-ex AlmaLinux 8 1.7.7-8.module_el8.5.0+150+5f0dbea0
  • stax-ex AlmaLinux 8 1.7.7-8.module_el8.5.0+2577+9e95fe00
  • velocity AlmaLinux 8 1.7-24.module_el8.5.0+150+5f0dbea0
  • velocity AlmaLinux 8 1.7-24.module_el8.5.0+2577+9e95fe00

almalinux advisories ALSA-2019:1529

  • xsom Rocky Linux 8 0-19.20110809svn.module+el8.3.0+53+ea062990
  • slf4j Rocky Linux 8 1.7.25-4.module+el8.5.0+697+f586bb30
  • slf4j Rocky Linux 8 1.7.25-4.module+el8.3.0+74+855e3f5d
  • slf4j Rocky Linux 8 1.7.25-4.module+el8.3.0+133+b8b54b58
  • stax-ex Rocky Linux 8 1.7.7-8.module+el8.3.0+53+ea062990
  • bea-stax Rocky Linux 8 1.2.0-16.module+el8.3.0+53+ea062990
  • resteasy Rocky Linux 8 3.0.26-3.module+el8.3.0+53+ea062990
  • velocity Rocky Linux 8 1.7-24.module+el8.3.0+53+ea062990

rocky linux advisories RLSA-2019:1529

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-8037 updated cvss 9.1

tomcat: Due to a mishandling of close in NIO/NIO2 connectors user sessions can get mixed up

  • Red Hat OpenShift Application Runtimes tomcat
    affected: no fix available
  • Red Hat Enterprise Linux AppStream (v. 8) slf4j 1.7.25-4.module+el8.0.0+3248+9d514f3b, stax-ex 1.7.7-8.module+el8.0.0+3248+9d514f3b, velocity 1.7-24.module+el8.0.0+3248+9d514f3b, bea-stax 1.2.0-16.module+el8.0.0+3248+9d514f3b, resteasy 3.0.26-3.module+el8.0.0+3248+9d514f3b, xalan-j2 2.7.1-38.module+el8.0.0+3248+9d514f3b, +29 more
    fixed: vendor fix RHSA-2019:1529
  • Red Hat JBoss Web Server 5.0
    fixed: vendor fix RHSA-2018:2867
  • Red Hat JBoss Web Server 5.0 for RHEL 6 Server jws5-tomcat 9.0.7-12.redhat_12.1.el6jws, jws5-tomcat-lib 9.0.7-12.redhat_12.1.el6jws, jws5-tomcat-jsvc 9.0.7-12.redhat_12.1.el6jws, jws5-tomcat-javadoc 9.0.7-12.redhat_12.1.el6jws, jws5-tomcat-selinux 9.0.7-12.redhat_12.1.el6jws, jws5-tomcat-webapps 9.0.7-12.redhat_12.1.el6jws, +5 more Red Hat JBoss Web Server 5.0 for RHEL 7 Server jws5-tomcat 9.0.7-12.redhat_12.1.el7jws, jws5-tomcat-lib 9.0.7-12.redhat_12.1.el7jws, jws5-tomcat-jsvc 9.0.7-12.redhat_12.1.el7jws, jws5-tomcat-javadoc 9.0.7-12.redhat_12.1.el7jws, jws5-tomcat-selinux 9.0.7-12.redhat_12.1.el7jws, jws5-tomcat-webapps 9.0.7-12.redhat_12.1.el7jws, +5 more
    fixed: vendor fix RHSA-2018:2868
  • Red Hat BPM Suite 6 tomcat Red Hat Enterprise Linux 6 tomcat6, tomcat6-lib, tomcat6-log4j, tomcat6-javadoc, tomcat6-webapps, tomcat6-el-2.1-api, +4 more Red Hat Enterprise Linux 7 tomcat, tomcat-lib, tomcat-jsvc, tomcat-javadoc, tomcat-webapps, tomcat-el-2.2-api, +4 more Red Hat Fuse 7 tomcat Red Hat JBoss BRMS 5 jbossweb jbossweb Red Hat JBoss BRMS 6 tomcat
    +12 more products
    Red Hat JBoss Data Grid 6 jbossweb jbossweb Red Hat JBoss Data Grid 7 tomcat Red Hat JBoss Data Virtualization 6 jbossweb jbossweb Red Hat JBoss Enterprise Application Platform 5 jbossweb jbossweb Red Hat JBoss Enterprise Application Platform 6 jbossweb jbossweb Red Hat JBoss Enterprise Web Server 2 tomcat6, tomcat6-lib, tomcat6-log4j, tomcat6-javadoc, tomcat6-webapps, tomcat7 tomcat7, +6 more Red Hat JBoss Fuse 6 tomcat Red Hat JBoss Fuse Service Works 6 jbossweb jbossweb Red Hat JBoss Operations Network 3 jbossweb jbossweb Red Hat JBoss SOA Platform 5 jbossweb jbossweb Red Hat JBoss Web Server 3 tomcat7 tomcat7, tomcat8 tomcat8 Red Hat Software Collections rh-java-common-tomcat-lib, rh-java-common-tomcat-javadoc, rh-java-common-tomcat-el-2.2-api, rh-java-common-tomcat-jsp-2.2-api, rh-java-common-tomcat-servlet-3.0-api
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

11.16% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.0 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N
GitHub 3.0 5.9 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
maven org.apache.tomcat.embed:tomcat-embed-core
>=9.0.0.M9, <9.0.10
>=8.5.5, <8.5.32
9.0.10
8.5.32

Affected products

  • Apache Software Foundation Apache Tomcat

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.