CVE-2023-45802
Apache HTTP Server: HTTP/2 stream memory not reclaimed right away on RST
Description
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.
How to fix CVE-2023-45802
To remediate CVE-2023-45802, upgrade the affected package to a fixed version below.
- —upgrade to 2.4.58-r0 or later
- —upgrade to 2.4.58 or later
- —upgrade to 2.4.59-1~deb11u1 or later
Is CVE-2023-45802 being exploited?
Low — EPSS is 2.8%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 2.4.58-r0
- >= 2.4.17, < 2.4.58
- from 0, < 2.4.59-1~deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |