High

Concurrent Execution using Shared Resource with Improper Synchronization in Apache Tomcat

  • Disclosed: 14.05.2022
  • Updated: 11.10.2026 12:22

A bug in the error handling of the send file code for the NIO HTTP connector in Apache Tomcat 9.0.0.M1 to 9.0.0.M13, 8.5.0 to 8.5.8, 8.0.0.RC1 to 8.0.39, 7.0.0 to 7.0.73 and 6.0.16 to 6.0.48 resulted in the current Processor object being added to the Processor cache multiple times. This in turn meant that the same Processor could be used for concurrent requests. Sharing a Processor can result in information leakage between requests including, not not limited to, session ID and the response body. The bug was first noticed in 8.5.x onwards where it appears the refactoring of the Connector code for 8.5.x onwards made it more likely that the bug was observed. Initially it was thought that the 8.5.x refactoring introduced the bug but further investigation has shown that the bug is present in all currently supported Tomcat versions.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.tomcat:tomcat-util >= 9.0.0.M1, < 9.0.0.M14, >= 8.5.0, < 8.5.9, >= 8.0.0-RC1, < 8.0.41, >= 7.0.0, < 7.0.75, >= 6.0.16, < 6.0.50 9.0.0.M14, 8.5.9, 8.0.41, 7.0.75, 6.0.50

References

CVSS score 7.5/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-362
Platform
Java / Kotlin (Maven)
Package
org.apache.tomcat:tomcat-util
Disclosed
14.05.2022
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-w3j5-q8f2-3cqq - CC BY 4.0

Vulnerability history: org.apache.tomcat:tomcat-util

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
05.2022 10.2023
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 2

Disclosures per year

  1. 2022: 2
  2. 2023: 2
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Medium · 5.3 CVE-2023-42795 >= 11.0.0-M1, < 11.0.0-M12, >= 10.1.0-M1, < 10.1.14, >= 9.0.0-M1, < 9.0.81, >= 8.5.0, < 8.5.94 11.0.0-M12, 10.1.14, 9.0.81, 8.5.94
  2. High · 7.5 CVE-2022-45143 >= 8.5.83, < 8.5.84, >= 9.0.40, < 9.0.69 8.5.84, 9.0.69
  3. Medium CVE-2014-0099 < 6.0.40, >= 7.0.0, < 7.0.54, >= 8.0.0, < 8.0.6 6.0.40, 7.0.54, 8.0.6
  4. Concurrent Execution using Shared Resource with Improper Synchronization in Apache Tomcat this entry
    High · 7.5 CVE-2016-8745 >= 9.0.0.M1, < 9.0.0.M14, >= 8.5.0, < 8.5.9, >= 8.0.0-RC1, < 8.0.41, >= 7.0.0, < 7.0.75, >= 6.0.16, < 6.0.50 9.0.0.M14, 8.5.9, 8.0.41, 7.0.75, 6.0.50

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.