CVE-2023-45802Apache HTTP Server: HTTP/2 stream memory not reclaimed right away on RST
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | apache2 | Fixed | 2.4.58-1ubuntu1 | UBUNTU-CVE-2023-45802 |
| Ubuntu 22.04 | apache2 | Fixed | 2.4.52-1ubuntu4.7 | UBUNTU-CVE-2023-45802 |
| Ubuntu 20.04 | apache2 | Fixed | 2.4.41-4ubuntu3.15 | UBUNTU-CVE-2023-45802 |
| Ubuntu 18.04 | apache2 | Fix pending | 2.4.29-1ubuntu4.27+esm7 (Ubuntu Pro) | UBUNTU-CVE-2023-45802 |
| Ubuntu 16.04 | apache2 | Fix pending | ||
| Debian 14 | apache2 | Fixed | 2.4.58-1 | DEBIAN-CVE-2023-45802 |
| Debian 13 | apache2 | Fixed | 2.4.58-1 | DEBIAN-CVE-2023-45802 |
| Debian 12 | apache2 | Fixed | 2.4.59-1~deb12u1 | DEBIAN-CVE-2023-45802 |
| Red Hat Enterprise Linux 9 | httpd | Not affected | ||
| Red Hat Enterprise Linux 9 | httpd-core | Not affected | ||
| Red Hat Enterprise Linux 9 | httpd-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | httpd-filesystem | Not affected | ||
| Red Hat Enterprise Linux 9 | httpd-manual | Not affected | ||
| Red Hat Enterprise Linux 9 | httpd-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | mod_http2 | Fixed | 0:2.0.26-1.el9 | RHSA-2024:2368 |
| Red Hat Enterprise Linux 9 | mod_ldap | Not affected | ||
| Red Hat Enterprise Linux 9 | mod_lua | Not affected | ||
| Red Hat Enterprise Linux 9 | mod_proxy_html | Not affected | ||
| Red Hat Enterprise Linux 9 | mod_session | Not affected | ||
| Red Hat Enterprise Linux 9 | mod_ssl | Not affected | ||
| Red Hat Enterprise Linux 8 | httpd | Fixed | 0:2.4.37-64.module+el8.10.0+21332+dfb1b40e | RHSA-2024:3121 |
| Red Hat Enterprise Linux 8 | httpd-devel | Fixed | 0:2.4.37-64.module+el8.10.0+21332+dfb1b40e | RHSA-2024:3121 |
| Red Hat Enterprise Linux 8 | httpd-filesystem | Fixed | 0:2.4.37-64.module+el8.10.0+21332+dfb1b40e | RHSA-2024:3121 |
| Red Hat Enterprise Linux 8 | httpd-manual | Fixed | 0:2.4.37-64.module+el8.10.0+21332+dfb1b40e | RHSA-2024:3121 |
| Red Hat Enterprise Linux 8 | httpd-tools | Fixed | 0:2.4.37-64.module+el8.10.0+21332+dfb1b40e | RHSA-2024:3121 |
| Red Hat Enterprise Linux 8 | mod_http2 | Fixed | 0:1.15.7-10.module+el8.10.0+21653+eaff63f0 | RHSA-2024:3121 |
| Red Hat Enterprise Linux 8 | mod_ldap | Fixed | 0:2.4.37-64.module+el8.10.0+21332+dfb1b40e | RHSA-2024:3121 |
| Red Hat Enterprise Linux 8 | mod_md | Fixed | 1:2.0.8-8.module+el8.9.0+19080+567b90f8 | RHSA-2024:3121 |
| Red Hat Enterprise Linux 8 | mod_proxy_html | Fixed | 1:2.4.37-64.module+el8.10.0+21332+dfb1b40e | RHSA-2024:3121 |
| Red Hat Enterprise Linux 8 | mod_session | Fixed | 0:2.4.37-64.module+el8.10.0+21332+dfb1b40e | RHSA-2024:3121 |
| Red Hat Enterprise Linux 8 | mod_ssl | Fixed | 1:2.4.37-64.module+el8.10.0+21332+dfb1b40e | RHSA-2024:3121 |
| Red Hat Enterprise Linux 7 | httpd | Not affected | ||
| Red Hat Enterprise Linux 7 | httpd-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | httpd-manual | Not affected | ||
| Red Hat Enterprise Linux 7 | httpd-tools | Not affected | ||
| Red Hat Enterprise Linux 7 | mod_ldap | Not affected | ||
| Red Hat Enterprise Linux 7 | mod_proxy_html | Not affected | ||
| Red Hat Enterprise Linux 7 | mod_session | Not affected | ||
| Red Hat Enterprise Linux 7 | mod_ssl | Not affected | ||
| Red Hat Enterprise Linux 6 | httpd | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | httpd-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | httpd-manual | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | httpd-tools | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | mod_ssl | Will not fix Out of support scope | ||
| AlmaLinux 9 | mod_http2 | Fixed | 2.0.26-1.el9 | ALSA-2024:2368 |
| AlmaLinux 8 | httpd | Fixed | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux 8 | httpd-devel | Fixed | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux 8 | httpd-filesystem | Fixed | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux 8 | httpd-manual | Fixed | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux 8 | httpd-tools | Fixed | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux 8 | mod_http2 | Fixed | 1.15.7-10.module_el8.10.0+3832+564e7653 | ALSA-2024:3121 |
| AlmaLinux 8 | mod_ldap | Fixed | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux 8 | mod_md | Fixed | 1:2.0.8-8.module_el8.6.0+3031+fb177b09 | ALSA-2024:3121 |
| AlmaLinux 8 | mod_proxy_html | Fixed | 1:2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux 8 | mod_session | Fixed | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux 8 | mod_ssl | Fixed | 1:2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| Rocky Linux 8 | httpd | Fixed | 0:2.4.37-64.module+el8.10.0+1717+030a9fed | RLSA-2024:3121 |
| Rocky Linux 8 | mod_http2 | Fixed | 0:1.15.7-10.module+el8.10.0+1775+6b057638 | RLSA-2024:3121 |
| Rocky Linux 8 | mod_md | Fixed | 1:2.0.8-8.module+el8.9.0+1370+89cc8ad5 | RLSA-2024:3121 |
| Alpine Linux 3.24 | apache2 | Fixed | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine Linux 3.23 | apache2 | Fixed | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine Linux 3.22 | apache2 | Fixed | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine Linux 3.21 | apache2 | Fixed | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine Linux 3.20 | apache2 | Fixed | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine Linux 3.19 | apache2 | Fixed | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine Linux 3.18 | apache2 | Fixed | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine Linux 3.17 | apache2 | Fixed | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine Linux 3.16 | apache2 | Fixed | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine Linux 3.15 | apache2 | Fixed | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache HTTP Server: affected: 2.4.17 to 2.4.57
Vendor advisories:
- https://httpd.apache.org/security/vulnerabilities_24.html (vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.