CVE-2023-45802
Assigner: apache
Published: 2023-10-23T06:50:23.991Z
State: PUBLISHED
affected: defaultStatus: unaffected
product: Apache HTTP Server
vendor: Apache Software Foundation
versions: lessThanOrEqual: 2.4.57
status: affected
version: 2.4.17
versionType: semver
credits: type: finder
value: Will Dormann of Vul Labs
type: finder
value: David Warren of Vul Labs
descriptions: supportingMedia: base64: no
type: text/html
value: When a HTTP/2 stream was reset (RST frame) by a client, there was a time window were the request's memory resources were not reclaimed immediately. Instead, de-allocation was deferred to connection close. A client could send new requests and resets, keeping the connection busy and open and causing the memory footprint to keep on growing. On connection close, all resources were reclaimed, but the process might run out of memory before that.<br><br>This was found by the reporter during testing of&nbsp;CVE-2023-44487 (HTTP/2 Rapid Reset Exploit) with their own test client. During "normal" HTTP/2 use, the probability to hit this bug is very low. The kept memory would not become noticeable before the connection closes or times out.<br><br>Users are recommended to upgrade to version 2.4.58, which fixes the issue.<br>
value: When a HTTP/2 stream was reset (RST frame) by a client, there was a time window were the request's memory resources were not reclaimed immediately. Instead, de-allocation was deferred to connection close. A client could send new requests and resets, keeping the connection busy and open and causing the memory footprint to keep on growing. On connection close, all resources were reclaimed, but the process might run out of memory before that.

This was found by the reporter during testing of CVE-2023-44487 (HTTP/2 Rapid Reset Exploit) with their own test client. During "normal" HTTP/2 use, the probability to hit this bug is very low. The kept memory would not become noticeable before the connection closes or times out.

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

metrics: other: content: text: moderate
type: Textual description of severity
problemTypes: descriptions: cweId: CWE-400
description: CWE-400 Uncontrolled Resource Consumption
type: CWE
source: discovery: EXTERNAL
timeline: time: 2023-10-12T11:47:00.000Z
value: reported
title: Apache HTTP Server: HTTP/2 stream memory not reclaimed right away on RST
x_generator: engine: Vulnogram 0.1.0-dev