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 tomcataffected: 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 morefixed: vendor fix RHSA-2019:1529
-
Red Hat JBoss Web Server 5.0fixed: 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 morefixed: 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 tomcatnot affected: vulnerable code not present
+12 more productsfewer
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
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
-
oracle.com
/technetwork/security-advisory/cpuoct2018-4428296.html
patch, third-party-advisory
-
github.com
/apache/tomcat/commit/4c04369c287233ea2e8e5135f6c31d02e2d76293
web
-
github.com
/apache/tomcat/commit/ccf2e6bf5205561ad18c2300153e9173ec509d73
web
-
github.com
/apache/tomcat/commit/ed4b9d791f9470e4c3de691dd0153a9ce431701b
web
-
github.com
/apache/tomcat/commit/f94eedf02b5973598ab3dbbd4504da588e9ba6cb
web
-
debian.org
/security/2018/dsa-4281
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2867
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:2868
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2019:1529
vendor-advisory, web
-
mail-archives.us.apache.org
/mod_mbox/www-announce/201807.mbox/%3C20180722090623.GA92700%40minotaur.apache.org%3E
mailing-list, vendor-advisory
-
mail-archives.us.apache.org
/mod_mbox/www-announce/201808.mbox/%3C0c616b4d-4e81-e7f8-b81d-1bb4c575aa33%40apache.org%3E
mailing-list, vendor-advisory
-
securitytracker.com
/id/1041376
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/104894
vdb-entry, third-party-advisory
-
security.netapp.com
/advisory/ntap-20180817-0001/
third-party-advisory
-
lists.apache.org
/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/e85e83e9954f169bbb77b44baae5a33d8de878df557bb32b7f793661%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/2ee3af8a43cb019e7898c9330cc8e73306553a27f2e4735dfb522d39%40%3Cusers.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/5d15316dfb4adf75d96d394745f8037533fa3bcc1ac8f619bf5c044c%40%3Cusers.tomcat.apache.org%3E
mailing-list, web
-
oracle.com
/technetwork/security-advisory/cpuoct2019-5072832.html
web
-
lists.apache.org
/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E
mailing-list, web
-
oracle.com
/security-alerts/cpuapr2020.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2018-8037
advisory
-
lists.apache.org
/thread.html/e85e83e9954f169bbb77b44baae5a33d8de878df557bb32b7f793661@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a@%3Cdev.tomcat.apache.org%3E
web
-
security.netapp.com
/advisory/ntap-20180817-0001
web
-
web.archive.org
/web/20200227102808/http://www.securityfocus.com/bid/104894
web
-
web.archive.org
/web/20200515223903/http://www.securitytracker.com/id/1041376
web
-
github.com
/apache/tomcat
package
-
lists.apache.org
/thread.html/1dd0a59c1295cc08ce4c9e7edae5ad2268acc9ba55adcefa0532e5ba@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/2ee3af8a43cb019e7898c9330cc8e73306553a27f2e4735dfb522d39@%3Cusers.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb@%3Cdev.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/5d15316dfb4adf75d96d394745f8037533fa3bcc1ac8f619bf5c044c@%3Cusers.tomcat.apache.org%3E
web
-
lists.apache.org
/thread.html/6af47120905aa7d8fe12f42e8ff2284fb338ba141d3b77b8c7cb61b3@%3Cdev.tomcat.apache.org%3E
web
Sources
- CVE List CVE-2018-8037
- GitHub Advisory GHSA-6v52-mj5r-7j2m
- NVD CVE-2018-8037
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.