Vulnerability · Published Oct 23, 2023 · Assigned by apache

CVE-2023-45802Apache HTTP Server: HTTP/2 stream memory not reclaimed right away on RST

Medium 5.9

In plain English

A medium-severity security flaw in Apache HTTP Server from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.2% (higher than 88% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.9Medium
Exploit odds (30 days)3.2%top 11.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8httpd2.4.37-64.module_el8.10.0+3761+75f8c656ALSA-2024:3121
AlmaLinux:8httpd-devel2.4.37-64.module_el8.10.0+3761+75f8c656ALSA-2024:3121
AlmaLinux:8httpd-filesystem2.4.37-64.module_el8.10.0+3761+75f8c656ALSA-2024:3121
AlmaLinux:8httpd-manual2.4.37-64.module_el8.10.0+3761+75f8c656ALSA-2024:3121
AlmaLinux:8httpd-tools2.4.37-64.module_el8.10.0+3761+75f8c656ALSA-2024:3121
AlmaLinux:8mod_http21.15.7-10.module_el8.10.0+3832+564e7653ALSA-2024:3121
AlmaLinux:9mod_http22.0.26-1.el9ALSA-2024:2368
AlmaLinux:8mod_ldap2.4.37-64.module_el8.10.0+3761+75f8c656ALSA-2024:3121
AlmaLinux:8mod_md1:2.0.8-8.module_el8.6.0+2872+fe0ff7aaALSA-2024:3121
AlmaLinux:8mod_md1:2.0.8-8.module_el8.6.0+3031+fb177b09ALSA-2024:3121
AlmaLinux:8mod_proxy_html1:2.4.37-64.module_el8.10.0+3761+75f8c656ALSA-2024:3121
AlmaLinux:8mod_session2.4.37-64.module_el8.10.0+3761+75f8c656ALSA-2024:3121
AlmaLinux:8mod_ssl1:2.4.37-64.module_el8.10.0+3761+75f8c656ALSA-2024:3121
Alpine:v3.20apache22.4.58-r0ALPINE-CVE-2023-45802
Alpine:v3.21apache22.4.58-r0ALPINE-CVE-2023-45802
Alpine:v3.22apache22.4.58-r0ALPINE-CVE-2023-45802
Alpine:v3.23apache22.4.58-r0ALPINE-CVE-2023-45802
Alpine:v3.24apache22.4.58-r0ALPINE-CVE-2023-45802
Debian:12apache22.4.59-1~deb12u1DEBIAN-CVE-2023-45802
Debian:12apache22.4.59-1~deb12u1DSA-5662-1
Debian:13apache22.4.58-1DEBIAN-CVE-2023-45802
Debian:14apache22.4.58-1DEBIAN-CVE-2023-45802
Rocky Linux:8httpd0:2.4.37-64.module+el8.10.0+1717+030a9fedRLSA-2024:3121
Rocky Linux:8mod_http20:1.15.7-10.module+el8.10.0+1775+6b057638RLSA-2024:3121
Rocky Linux:8mod_md1:2.0.8-8.module+el8.9.0+1370+89cc8ad5RLSA-2024:3121
Ubuntu:22.04:LTSapache22.4.52-1ubuntu4.7USN-6506-1
Ubuntu:22.04:LTSapache22.4.52-1ubuntu4.7UBUNTU-CVE-2023-45802
Ubuntu:24.04:LTSapache22.4.58-1ubuntu1UBUNTU-CVE-2023-45802

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache HTTP Server 2.4.17 – through 2.4.57

Weakness: CWE-404

References