CVE Vulnerabilities

CVE-2024-34750

Uncontrolled Resource Consumption

Published: Jul 03, 2024 | Modified: Jul 09, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

Improper Handling of Exceptional Conditions, Uncontrolled Resource Consumption vulnerability in Apache Tomcat. When processing an HTTP/2 stream, Tomcat did not handle some cases of excessive HTTP headers correctly. This led to a miscounting of active HTTP/2 streams which in turn led to the use of an incorrect infinite timeout which allowed connections to remain open which should have been closed.

This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M20, from 10.1.0-M1 through 10.1.24, from 9.0.0-M1 through 9.0.89.

Users are recommended to upgrade to version 11.0.0-M21, 10.1.25 or 9.0.90, which fixes the issue.

Weakness

The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

Affected Software

Name Vendor Start Version End Version
Tomcat10 Ubuntu mantic *
Tomcat9 Ubuntu mantic *
Red Hat Enterprise Linux 8 RedHat tomcat-1:9.0.87-1.el8_10.2 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat tomcat-1:9.0.87-1.el8_8.3 *
Red Hat Enterprise Linux 9 RedHat tomcat-1:9.0.87-1.el9_4.2 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat tomcat-1:9.0.87-1.el9_2.2 *
Red Hat JBoss Web Server 5 RedHat jws5-tomcat *
Red Hat JBoss Web Server 5.8 on RHEL 7 RedHat jws5-tomcat-0:9.0.87-5.redhat_00005.1.el7jws *
Red Hat JBoss Web Server 5.8 on RHEL 8 RedHat jws5-tomcat-0:9.0.87-5.redhat_00005.1.el8jws *
Red Hat JBoss Web Server 5.8 on RHEL 9 RedHat jws5-tomcat-0:9.0.87-5.redhat_00005.1.el9jws *
Red Hat JBoss Web Server 6 RedHat jws6-tomcat *
Red Hat JBoss Web Server 6.0 on RHEL 8 RedHat jws6-tomcat-0:10.1.8-10.redhat_00018.1.el8jws *
Red Hat JBoss Web Server 6.0 on RHEL 9 RedHat jws6-tomcat-0:10.1.8-10.redhat_00018.1.el9jws *

Extended Description

Limited resources include memory, file system storage, database connection pool entries, and CPU. If an attacker can trigger the allocation of these limited resources, but the number or size of the resources is not controlled, then the attacker could cause a denial of service that consumes all available resources. This would prevent valid users from accessing the product, and it could potentially have an impact on the surrounding environment. For example, a memory exhaustion attack against an application could slow down the application as well as its host operating system. There are at least three distinct scenarios which can commonly lead to resource exhaustion:

Resource exhaustion problems are often result due to an incorrect implementation of the following situations:

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References