1. CVE archive
  2. 2017
  3. CVE-2017-5650

CVE-2017-5650

7.5 High severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – High

Description

In Apache Tomcat 9.0.0.M1 to 9.0.0.M18 and 8.5.0 to 8.5.12, the handling of an HTTP/2 GOAWAY frame for a connection did not close streams associated with that connection that were currently waiting for a WINDOW_UPDATE before allowing the application to write more data. These waiting streams each consumed a thread. A malicious client could therefore construct a series of HTTP/2 requests that would consume all available processing threads.

Affected products

VendorProductVersionPlatform
apache tomcat 8.5.4 –
apache tomcat 8.5.5 –
apache tomcat 8.5.6 –
apache tomcat 8.5.7 –
apache tomcat 8.5.8 –
apache tomcat 8.5.9 –
apache tomcat 8.5.10 –
apache tomcat 8.5.11 –
apache tomcat 8.5.12 –
apache tomcat 9.0.0 milestone1 –
apache tomcat 9.0.0 milestone10 –
apache tomcat 9.0.0 milestone11 –
apache tomcat 9.0.0 milestone12 –
apache tomcat 9.0.0 milestone13 –
apache tomcat 9.0.0 milestone14 –
apache tomcat 9.0.0 milestone15 –
apache tomcat 9.0.0 milestone16 –
apache tomcat 9.0.0 milestone17 –
apache tomcat 9.0.0 milestone18 –
apache tomcat 9.0.0 milestone2 –
apache tomcat 9.0.0 milestone3 –
apache tomcat 9.0.0 milestone4 –
apache tomcat 9.0.0 milestone5 –
apache tomcat 9.0.0 milestone6 –
apache tomcat 9.0.0 milestone7 –
apache tomcat 9.0.0 milestone8 –
apache tomcat 9.0.0 milestone9 –
apache tomcat 8.5.0 –
apache tomcat 8.5.1 –
apache tomcat 8.5.2 –
apache tomcat 8.5.3 –
All 274 Apache Tomcat vulnerabilities

Vulnerability type

CWE-404 Improper Resource Shutdown or Release

The product does not release or incorrectly releases a resource before it is made available for re-use.

When a resource is created or allocated, the developer is responsible for properly releasing the resource as well as accounting for all potential paths of expiration or invalidation, such as a set period of time or revocation.

Impact on systems

ScopeImpact
Availability, Other DoS: Resource Consumption (Other), Varies by Context
Most unreleased resource issues result in general software reliability problems, but if an attacker can intentionally trigger a resource leak, the attacker might be able to launch a denial of service attack by depleting the resource pool.
Confidentiality Read Application Data
When a resource containing sensitive information is not correctly shutdown, it may expose the sensitive data in a subsequent allocation.

How to prevent it

Requirements · Language Selection Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.
Implementation It is good practice to be responsible for freeing all resources you allocate and to be consistent with how and where you free memory in a function. If you allocate memory that you intend to free upon completion of the function, you must be sure to free the memory at all exit points for that function including error conditions.
Implementation Memory should be allocated/freed using matching functions such as malloc/free, new/delete, and new[]/delete[].
Implementation When releasing a complex object or structure, ensure that you properly dispose of all of its member components, not just the object itself.

All 740 CWE-404 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org