CVE-2018-8037
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.
What to do
Likely to be exploited: EPSS gives a 11% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from AlmaLinux, Maven, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | tomcat8 | Fixed | 8.5.39-1ubuntu1~18.04.1 | UBUNTU-CVE-2018-8037 |
| Ubuntu 16.04 | tomcat8 | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 8 | apache-commons-collections | Fixed | 0:3.2.2-10.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | apache-commons-lang | Fixed | 0:2.6-21.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | bea-stax | Fixed | 0:1.2.0-16.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | bea-stax-api | Fixed | 0:1.2.0-16.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | glassfish-fastinfoset | Fixed | 0:1.2.13-9.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | glassfish-jaxb | Fixed | 0:2.2.11-11.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-api | Fixed | 0:2.2.12-8.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-core | Fixed | 0:2.2.11-11.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-runtime | Fixed | 0:2.2.11-11.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | glassfish-jaxb-txw2 | Fixed | 0:2.2.11-11.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | jackson-annotations | Fixed | 0:2.9.8-1.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | jackson-core | Fixed | 0:2.9.8-1.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | jackson-databind | Fixed | 0:2.9.8-1.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | jackson-jaxrs-json-provider | Fixed | 0:2.9.8-1.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | jackson-jaxrs-providers | Fixed | 0:2.9.8-1.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | jackson-module-jaxb-annotations | Fixed | 0:2.7.6-4.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | jakarta-commons-httpclient | Fixed | 1:3.1-28.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | javassist | Fixed | 0:3.18.1-8.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | javassist-javadoc | Fixed | 0:3.18.1-8.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | pki-servlet-4.0-api | Fixed | 1:9.0.7-14.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | pki-servlet-container | Fixed | 1:9.0.7-14.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | python-nss | Fixed | 0:1.0.1-10.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | python-nss-doc | Fixed | 0:1.0.1-10.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | python3-nss | Fixed | 0:1.0.1-10.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | relaxngDatatype | Fixed | 0:2011.1-7.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | resteasy | Fixed | 0:3.0.26-3.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | slf4j | Fixed | 0:1.7.25-4.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | slf4j-jdk14 | Fixed | 0:1.7.25-4.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | stax-ex | Fixed | 0:1.7.7-8.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | velocity | Fixed | 0:1.7-24.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | xalan-j2 | Fixed | 0:2.7.1-38.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | xerces-j2 | Fixed | 0:2.11.0-34.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | xml-commons-apis | Fixed | 0:1.4.01-25.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | xml-commons-resolver | Fixed | 0:1.2-26.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | xmlstreambuffer | Fixed | 0:1.5.4-8.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 8 | xsom | Fixed | 0:0-19.20110809svn.module+el8.0.0+3248+9d514f3b | RHSA-2019:1529 |
| Red Hat Enterprise Linux 7 | tomcat | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-admin-webapps | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-docs-webapp | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-el-2.2-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-javadoc | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-jsp-2.2-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-jsvc | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-lib | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-servlet-3.0-api | Not affected | ||
| Red Hat Enterprise Linux 7 | tomcat-webapps | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6 | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-admin-webapps | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-docs-webapp | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-el-2.1-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-javadoc | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-jsp-2.1-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-lib | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-log4j | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-servlet-2.5-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-webapps | Not affected | ||
| AlmaLinux 8 | apache-commons-collections | Fixed | 3.2.2-10.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | apache-commons-lang | Fixed | 2.6-21.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | bea-stax-api | Fixed | 1.2.0-16.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | glassfish-fastinfoset | Fixed | 1.2.13-9.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | glassfish-jaxb-api | Fixed | 2.2.12-8.module_el8.5.0+150+5f0dbea0 | ALSA-2019:1529 |
| AlmaLinux 8 | glassfish-jaxb-core | Fixed | 2.2.11-11.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | glassfish-jaxb-runtime | Fixed | 2.2.11-11.module_el8.5.0+150+5f0dbea0 | ALSA-2019:1529 |
| AlmaLinux 8 | glassfish-jaxb-txw2 | Fixed | 2.2.11-11.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | jackson-module-jaxb-annotations | Fixed | 2.7.6-4.module_el8.5.0+150+5f0dbea0 | ALSA-2019:1529 |
| AlmaLinux 8 | jakarta-commons-httpclient | Fixed | 1:3.1-28.module_el8.5.0+150+5f0dbea0 | ALSA-2019:1529 |
| AlmaLinux 8 | javassist | Fixed | 3.18.1-8.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | javassist-javadoc | Fixed | 3.18.1-8.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | python-nss-doc | Fixed | 1.0.1-10.module_el8.5.0+2577+9e95fe00.alma | ALSA-2019:1529 |
| AlmaLinux 8 | python3-nss | Fixed | 1.0.1-10.module_el8.5.0+2577+9e95fe00.alma | ALSA-2019:1529 |
| AlmaLinux 8 | relaxngDatatype | Fixed | 2011.1-7.module_el8.5.0+150+5f0dbea0 | ALSA-2019:1529 |
| AlmaLinux 8 | slf4j | Fixed | 1.7.25-4.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | slf4j-jdk14 | Fixed | 1.7.25-4.module_el8.5.0+150+5f0dbea0 | ALSA-2019:1529 |
| AlmaLinux 8 | stax-ex | Fixed | 1.7.7-8.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | velocity | Fixed | 1.7-24.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | xalan-j2 | Fixed | 2.7.1-38.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | xerces-j2 | Fixed | 2.11.0-34.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | xml-commons-apis | Fixed | 1.4.01-25.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| AlmaLinux 8 | xml-commons-resolver | Fixed | 1.2-26.module_el8.5.0+150+5f0dbea0 | ALSA-2019:1529 |
| AlmaLinux 8 | xmlstreambuffer | Fixed | 1.5.4-8.module_el8.5.0+150+5f0dbea0 | ALSA-2019:1529 |
| AlmaLinux 8 | xsom | Fixed | 0-19.20110809svn.module_el8.5.0+2577+9e95fe00 | ALSA-2019:1529 |
| Rocky Linux 8 | apache-commons-collections | Fixed | 0:3.2.2-10.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | apache-commons-lang | Fixed | 0:2.6-21.module+el8.3.0+74+855e3f5d | RLSA-2019:1529 |
| Rocky Linux 8 | bea-stax | Fixed | 0:1.2.0-16.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | glassfish-fastinfoset | Fixed | 0:1.2.13-9.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | glassfish-jaxb | Fixed | 0:2.2.11-11.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | glassfish-jaxb-api | Fixed | 0:2.2.12-8.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | jackson-module-jaxb-annotations | Fixed | 0:2.7.6-4.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | jakarta-commons-httpclient | Fixed | 1:3.1-28.module+el8.3.0+74+855e3f5d | RLSA-2019:1529 |
| Rocky Linux 8 | javassist | Fixed | 0:3.18.1-8.module+el8.3.0+74+855e3f5d | RLSA-2019:1529 |
| Rocky Linux 8 | python-nss | Fixed | 0:1.0.1-10.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | relaxngDatatype | Fixed | 0:2011.1-7.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | resteasy | Fixed | 0:3.0.26-3.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | slf4j | Fixed | 0:1.7.25-4.module+el8.3.0+133+b8b54b58 | RLSA-2019:1529 |
| Rocky Linux 8 | stax-ex | Fixed | 0:1.7.7-8.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | velocity | Fixed | 0:1.7-24.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | xalan-j2 | Fixed | 0:2.7.1-38.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | xerces-j2 | Fixed | 0:2.11.0-34.module+el8.3.0+74+855e3f5d | RLSA-2019:1529 |
| Rocky Linux 8 | xml-commons-apis | Fixed | 0:1.4.01-25.module+el8.3.0+74+855e3f5d | RLSA-2019:1529 |
| Rocky Linux 8 | xml-commons-resolver | Fixed | 0:1.2-26.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | xmlstreambuffer | Fixed | 0:1.5.4-8.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Rocky Linux 8 | xsom | Fixed | 0:0-19.20110809svn.module+el8.3.0+53+ea062990 | RLSA-2019:1529 |
| Maven library | org.apache.tomcat.embed:tomcat-embed-core | Fixed | 9.0.10 | GHSA-6v52-mj5r-7j2m |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Tomcat: affected: 9.0.0.M9 to 9.0.9, 8.5.5 to 8.5.31
Vendor advisories:
- https://www.debian.org/security/2018/dsa-4281 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2867 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2868 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2019:1529 (vendor-advisory)
References
- http://mail-archives.us.apache.org/mod_mbox/www-announce/201807.mbox/%3C20180722090623.GA92700%40minotaur.apache.org%3E
- http://www.securitytracker.com/id/1041376
- http://www.securityfocus.com/bid/104894
- https://www.debian.org/security/2018/dsa-4281
- https://security.netapp.com/advisory/ntap-20180817-0001/
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- http://mail-archives.us.apache.org/mod_mbox/www-announce/201808.mbox/%3C0c616b4d-4e81-e7f8-b81d-1bb4c575aa33%40apache.org%3E
- https://access.redhat.com/errata/RHSA-2018:2867
- https://access.redhat.com/errata/RHSA-2018:2868
- https://lists.apache.org/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/88855876c33f2f9c532ffb75bfee570ccf0b17ffa77493745af9a17a%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/e85e83e9954f169bbb77b44baae5a33d8de878df557bb32b7f793661%40%3Cdev.tomcat.apache.org%3E
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.