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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | httpd | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux:8 | httpd-devel | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux:8 | httpd-filesystem | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux:8 | httpd-manual | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux:8 | httpd-tools | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux:8 | mod_http2 | 1.15.7-10.module_el8.10.0+3832+564e7653 | ALSA-2024:3121 |
| AlmaLinux:9 | mod_http2 | 2.0.26-1.el9 | ALSA-2024:2368 |
| AlmaLinux:8 | mod_ldap | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux:8 | mod_md | 1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa | ALSA-2024:3121 |
| AlmaLinux:8 | mod_md | 1:2.0.8-8.module_el8.6.0+3031+fb177b09 | ALSA-2024:3121 |
| AlmaLinux:8 | mod_proxy_html | 1:2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux:8 | mod_session | 2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| AlmaLinux:8 | mod_ssl | 1:2.4.37-64.module_el8.10.0+3761+75f8c656 | ALSA-2024:3121 |
| Alpine:v3.20 | apache2 | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine:v3.21 | apache2 | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine:v3.22 | apache2 | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine:v3.23 | apache2 | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Alpine:v3.24 | apache2 | 2.4.58-r0 | ALPINE-CVE-2023-45802 |
| Debian:12 | apache2 | 2.4.59-1~deb12u1 | DEBIAN-CVE-2023-45802 |
| Debian:12 | apache2 | 2.4.59-1~deb12u1 | DSA-5662-1 |
| Debian:13 | apache2 | 2.4.58-1 | DEBIAN-CVE-2023-45802 |
| Debian:14 | apache2 | 2.4.58-1 | DEBIAN-CVE-2023-45802 |
| Rocky Linux:8 | httpd | 0:2.4.37-64.module+el8.10.0+1717+030a9fed | RLSA-2024:3121 |
| Rocky Linux:8 | mod_http2 | 0:1.15.7-10.module+el8.10.0+1775+6b057638 | RLSA-2024:3121 |
| Rocky Linux:8 | mod_md | 1:2.0.8-8.module+el8.9.0+1370+89cc8ad5 | RLSA-2024:3121 |
| Ubuntu:22.04:LTS | apache2 | 2.4.52-1ubuntu4.7 | USN-6506-1 |
| Ubuntu:22.04:LTS | apache2 | 2.4.52-1ubuntu4.7 | UBUNTU-CVE-2023-45802 |
| Ubuntu:24.04:LTS | apache2 | 2.4.58-1ubuntu1 | UBUNTU-CVE-2023-45802 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache HTTP Server | 2.4.17 – through 2.4.57 |
Weakness: CWE-404
References
- https://httpd.apache.org/security/vulnerabilities_24.html vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BFQD3KUEMFBHPAPBGLWQC34L4OWL5HAZ/ x_transferred
- https://security.netapp.com/advisory/ntap-20231027-0011/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MBEPPC36UBVOZZNAXFHKLFGSLCMN5LI/ x_transferred
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WE2I52RHNNU42PX6NZ2RBUHSFFJ2LVZX/ x_transferred
- https://lists.debian.org/debian-lts-announce/2024/05/msg00013.html x_transferred