CVE Vulnerabilities

CVE-2025-52434

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Published: Jul 10, 2025 | Modified: Aug 08, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition) vulnerability in Apache Tomcat when using the APR/Native connector. This was particularly noticeable with client initiated closes of HTTP/2 connections.

This issue affects Apache Tomcat: from 9.0.0.M1 through 9.0.106. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 through 8.5.100. Other, older, EOL versions may also be affected.

Users are recommended to upgrade to version 9.0.107, which fixes the issue.

Weakness

The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

Affected Software

Name Vendor Start Version End Version
Tomcat Apache 9.0.0 (including) 9.0.107 (excluding)
Red Hat Enterprise Linux 10 RedHat tomcat9-1:9.0.87-5.el10_0.3 *
Red Hat Enterprise Linux 8 RedHat tomcat-1:9.0.87-1.el8_10.6 *
Red Hat Enterprise Linux 8.8 Telecommunications Update Service RedHat tomcat-1:9.0.87-1.el8_8.7 *
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions RedHat tomcat-1:9.0.87-1.el8_8.7 *
Red Hat Enterprise Linux 9 RedHat tomcat-1:9.0.87-3.el9_6.3 *
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions RedHat tomcat-1:9.0.87-1.el9_2.6 *
Red Hat Enterprise Linux 9.4 Extended Update Support RedHat tomcat-1:9.0.87-1.el9_4.6 *
Red Hat JBoss Web Server 5.8.5 RedHat jws5-tomcat *
Red Hat JBoss Web Server 5.8 on RHEL 7 RedHat jws5-tomcat-0:9.0.87-12.redhat_00011.1.el7jws *
Red Hat JBoss Web Server 5.8 on RHEL 8 RedHat jws5-tomcat-0:9.0.87-12.redhat_00011.1.el8jws *
Red Hat JBoss Web Server 5.8 on RHEL 9 RedHat jws5-tomcat-0:9.0.87-12.redhat_00011.1.el9jws *
Tomcat9 Ubuntu esm-apps/bionic *
Tomcat9 Ubuntu esm-apps/focal *
Tomcat9 Ubuntu esm-apps/jammy *
Tomcat9 Ubuntu jammy *
Tomcat9 Ubuntu upstream *

Extended Description

A race condition occurs within concurrent environments, and it is effectively a property of a code sequence. Depending on the context, a code sequence may be in the form of a function call, a small number of instructions, a series of program invocations, etc. A race condition violates these properties, which are closely related:

A race condition exists when an “interfering code sequence” can still access the shared resource, violating exclusivity. The interfering code sequence could be “trusted” or “untrusted.” A trusted interfering code sequence occurs within the product; it cannot be modified by the attacker, and it can only be invoked indirectly. An untrusted interfering code sequence can be authored directly by the attacker, and typically it is external to the vulnerable product.

Potential Mitigations

  • Minimize the usage of shared resources in order to remove as much complexity as possible from the control flow and to reduce the likelihood of unexpected conditions occurring.
  • Additionally, this will minimize the amount of synchronization necessary and may even help to reduce the likelihood of a denial of service where an attacker may be able to repeatedly trigger a critical section (CWE-400).

References