CVE-2023-45802 Apache HTTP Server: HTTP/2 stream memory not reclaimed right away on RST
- Published
- Updated
- Exploit status
- No public exploit known
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/apache2(Debian:12) | < 2.4.59-1~deb12u1 | 2.4.59-1~deb12u1 |
| debian/apache2(Debian:12) | = 2.4.57-2 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.57-3 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.58-1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.59-1~deb10u1 | No fix listed |
| debian/apache2(Debian:12) | = 2.4.59-1~deb11u1 | No fix listed |
| debian/apache2(Debian:13) | < 2.4.58-1 | 2.4.58-1 |
| debian/apache2(Debian:14) | < 2.4.58-1 | 2.4.58-1 |
| Apache HTTP Server | >= 2.4.17, <= 2.4.57 | No fix listed |
| ubuntu/apache2(Ubuntu:22.04) | < 2.4.52-1ubuntu4.7 | 2.4.52-1ubuntu4.7 |
| alpine/apache2(Alpine:v3.15) | < 2.4.58-r0 | 2.4.58-r0 |
| alpine/apache2(Alpine:v3.16) | < 2.4.58-r0 | 2.4.58-r0 |
| alpine/apache2(Alpine:v3.17) | < 2.4.58-r0 | 2.4.58-r0 |
| alpine/apache2(Alpine:v3.18) | < 2.4.58-r0 | 2.4.58-r0 |
| alpine/apache2(Alpine:v3.19) | < 2.4.58-r0 | 2.4.58-r0 |
| alpine/apache2(Alpine:v3.20) | < 2.4.58-r0 | 2.4.58-r0 |
| alpine/apache2(Alpine:v3.21) | < 2.4.58-r0 | 2.4.58-r0 |
| alpine/apache2(Alpine:v3.22) | < 2.4.58-r0 | 2.4.58-r0 |
| alpine/apache2(Alpine:v3.23) | < 2.4.58-r0 | 2.4.58-r0 |
| alpine/apache2(Alpine:v3.24) | < 2.4.58-r0 | 2.4.58-r0 |
| ubuntu/apache2(Ubuntu:24.04) | < 2.4.58-1ubuntu1 | 2.4.58-1ubuntu1 |
| Apache HTTP Server | >= 2.4.17, < 2.4.58 | 2.4.58 |
| fedoraproject fedora | = 37 | No fix listed |
| fedoraproject fedora | = 38 | No fix listed |
| fedoraproject fedora | = 39 | No fix listed |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian linux | = 10.0 | No fix listed |
References
- Debian Security Tracker CVE-2023-45802 vendor-advisory
- httpd.apache.org vendor-advisory
- lists.fedoraproject.org mailing-list third-party-advisory
- security.netapp.com third-party-advisory
- lists.fedoraproject.org mailing-list third-party-advisory
- lists.fedoraproject.org mailing-list third-party-advisory
- lists.debian.org mailing-list third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6506-1 vendor-advisory
- USN-8338-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory