Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2018-8037

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

Overview

Published
2 Aug 2018
Modified
17 Jun 2026
Medium CVE
1 Registry packages
67 OS packages
7 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

5.9 · MEDIUM

CVSS 3.0 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness: CWE-362

Affected packages · 1

Packages affected by CVE-2018-8037
EcosystemPackageVulnerableFixed in
Maven org.apache.tomcat.embed:tomcat-embed-core >=9.0.0.M9, <9.0.10>=8.5.5, <8.5.32 9.0.108.5.32

Open a package to see all its vulnerabilities.

Operating systems · 99 fixes

Oracle Linux 1 release · 23 packages

fixed 23
xsom python-nss-doc xml-commons-resolver bea-stax-api glassfish-fastinfoset xml-commons-apis +17
Oracle Linux fixes for CVE-2018-8037
ReleasePackageFixed in
8 xsom 0-19.20110809svn.module+el8.0.0+5231+3e842911
8 python-nss-doc +1 1.0.1-10.module+el8.0.0+5231+3e842911
8 xml-commons-resolver 1.2-26.module+el8.0.0+5231+3e842911
8 bea-stax-api 1.2.0-16.module+el8.0.0+5231+3e842911
8 glassfish-fastinfoset 1.2.13-9.module+el8.0.0+5231+3e842911
8 xml-commons-apis 1.4.01-25.module+el8.0.0+5231+3e842911

17 more rows

Red Hat 4 releases · 24 packages

fixed 24 affected 2
jws5-tomcat xsom python-nss-doc xml-commons-resolver bea-stax-api glassfish-fastinfoset +18
Red Hat fixes for CVE-2018-8037
ReleasePackageFixed inAdvisory
7 jws5-tomcat +10 0:9.0.7-12.redhat_12.1.el7jws RHSA-2018:2868
8 jws5-tomcat affected —
8 (pki-deps:10.6) xsom 0:0-19.20110809svn.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
8 (pki-deps:10.6) python-nss-doc +1 0:1.0.1-10.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
8 (pki-deps:10.6) xml-commons-resolver 0:1.2-26.module+el8.0.0+3248+9d514f3b RHSA-2019:1529
8 (pki-deps:10.6) bea-stax-api 0:1.2.0-16.module+el8.0.0+3248+9d514f3b RHSA-2019:1529

20 more rows

alma 1 release · 21 packages

fixed 21
xsom python-nss-doc xml-commons-resolver bea-stax-api glassfish-fastinfoset xml-commons-apis +15
alma fixes for CVE-2018-8037
ReleasePackageFixed in
8 (pki-deps:10.6) xsom 0-19.20110809svn.module_el8.5.0+150+5f0dbea0
8 (pki-deps:10.6) python-nss-doc +1 1.0.1-10.module_el8.5.0+2577+9e95fe00.alma
8 (pki-deps:10.6) xml-commons-resolver 1.2-26.module_el8.5.0+150+5f0dbea0
8 (pki-deps:10.6) bea-stax-api 1.2.0-16.module_el8.5.0+150+5f0dbea0
8 (pki-deps:10.6) glassfish-fastinfoset 1.2.13-9.module_el8.5.0+150+5f0dbea0
8 (pki-deps:10.6) xml-commons-apis 1.4.01-25.module_el8.5.0+150+5f0dbea0

15 more rows

debian 1 release · 1 package

fixed 1
tomcat8
debian fixes for CVE-2018-8037
ReleasePackageFixed in
9 tomcat8 8.5.14-1+deb9u3

openSUSE 1 release · 2 packages

fixed 2
tomcat10 tomcat
openSUSE fixes for CVE-2018-8037
ReleasePackageFixed inAdvisory
Tumbleweed tomcat10 +10 10.1.14-1.1 openSUSE-SU-2024:13441-1
Tumbleweed tomcat +10 9.0.36-8.4 openSUSE-SU-2024:11468-1

rocky 2 releases · 22 packages

fixed 24
slf4j xsom python-nss-doc xml-commons-resolver bea-stax-api glassfish-fastinfoset +16
rocky fixes for CVE-2018-8037
ReleasePackageFixed in
8 (maven:3.5) slf4j 1.7.25-4.module+el8.3.0+133+b8b54b58
8 (pki-deps:10.6) xsom 0-19.20110809svn.module+el8.3.0+53+ea062990
8 (pki-deps:10.6) python-nss-doc +1 1.0.1-10.module+el8.3.0+53+ea062990
8 (pki-deps:10.6) xml-commons-resolver 1.2-26.module+el8.3.0+53+ea062990
8 (pki-deps:10.6) bea-stax-api 1.2.0-16.module+el8.3.0+53+ea062990
8 (pki-deps:10.6) glassfish-fastinfoset 1.2.13-9.module+el8.3.0+53+ea062990

18 more rows

ubuntu 2 releases · 1 package

fixed 2
tomcat8
ubuntu fixes for CVE-2018-8037
ReleasePackageFixed in
18.04 tomcat8 8.5.39-1ubuntu1~18.04.1
18.04-ESM tomcat8 8.5.39-1ubuntu1~18.04.1

References

Show all 63 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.