CVE-2018-8037: Vulnerability in org.apache.tomcat.embed:tomcat-embed-core

Summary

17/10/2018
Yes i
Moderate
5.9

CVE-2018-8037: Apache Tomcat Race Condition vulnerability. Affects org.apache.tomcat.embed:tomcat-embed-core across 2 version ranges.

>= 8.5.5, < 8.5.32 >= 9.0.0.M9, < 9.0.10

Fixed in 8.5.32 or 9.0.10, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

org.apache.tomcat.embed:tomcat-embed-core is a package in the Maven ecosystem that provides embedded Tomcat functionality. It allows developers to run Tomcat within their applications, enabling them to deploy web applications without the need for a separate Tomcat installation. This package is widely used in Java web development.

Vulnerability Detail

This vulnerability, identified as CVE-2018-8037, is of moderate severity. It affects versions 9.0.0.M9 to 9.0.9 and 8.5.5 to 8.5.31 of org.apache.tomcat.embed:tomcat-embed-core. The vulnerability arises from a race condition that occurs when an async request is completed by the application at the same time as the container triggers the async timeout. This race condition can result in a user seeing a response intended for a different user. Additionally, the NIO and NIO2 connectors in the package do not correctly track the closure of the connection when an async request is completed by the application and timed out by the container simultaneously, leading to the same issue of users seeing responses intended for other users. The Common Weakness Enumeration (CWE) ID associated with this vulnerability is CWE-362.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 8.5.5, < 8.5.32 8.5.32
  • >= 9.0.0.M9, < 9.0.10 9.0.10

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended solution is to upgrade to the fixed version of the package.

Conclusion

In conclusion, org.apache.tomcat.embed:tomcat-embed-core is vulnerable to a race condition that can result in users seeing responses intended for other users. Upgrading to the fixed versions of the package, 9.0.10 or 8.5.32, is recommended to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.tomcat.embed:tomcat-embed-core →

Share this vulnerability

FAQ

org.apache.tomcat.embed:tomcat-embed-core is a package in the Maven ecosystem that provides embedded Tomcat functionality for Java web applications.

This vulnerability can result in a user seeing a response intended for a different user, potentially exposing sensitive information.

Versions 9.0.0.M9 to 9.0.9 and 8.5.5 to 8.5.31 of org.apache.tomcat.embed:tomcat-embed-core are affected.

The CWE ID associated with this vulnerability is CWE-362.

To fix this vulnerability, upgrade to version 9.0.10 if you are using versions 9.0.0.M9 to 9.0.9, or upgrade to version 8.5.32 if you are using versions 8.5.5 to 8.5.31.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.tomcat.embed:tomcat-embed-core.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 8.5.5, < 8.5.32 8.5.32
  • >= 9.0.0.M9, < 9.0.10 9.0.10

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback