Apache HTTP Server: HTTP/2 stream memory not reclaimed right away on RST
Published Oct 23, 2023
7.5
HIGHCVSS 3.1
EPSS 3.02%
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
-
- Version 2.4.17StatusaffectedConstraints<=2.4.57
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Apache Software Foundation | Apache HTTP Server | unaffected |
|
Configuration 1
- ≥ 2.4.17 · < 2.4.58
Configuration 2
- 37
- 38
- 39
Configuration 3
- 10.0
No data.
JBoss Core Services for RHEL 8
jbcs-httpd24-mod_http2-0:1.15.19-32.el8jbcs
Fixed · RHSA-2023:7625
JBoss Core Services on RHEL 7
jbcs-httpd24-mod_http2-0:1.15.19-32.el7jbcs
Fixed · RHSA-2023:7625
Red Hat Enterprise Linux 8
httpd:2.4-8100020240405103607.e155f54d
Fixed · RHSA-2024:3121
Red Hat Enterprise Linux 8.8 Extended Update Support
httpd:2.4-8080020240502175002.63b34585
Fixed · RHSA-2024:2891
Red Hat Enterprise Linux 9
mod_http2-0:2.0.26-1.el9
Fixed · RHSA-2024:2368
Red Hat Enterprise Linux 6
httpd
Out of support scope
Red Hat Enterprise Linux 7
httpd
Not affected
Red Hat Enterprise Linux 9
httpd
Not affected
Red Hat JBoss Enterprise Application Platform 6
httpd22
Out of support scope
Red Hat Software Collections
httpd24
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| JBoss Core Services for RHEL 8 | jbcs-httpd24-mod_http2-0:1.15.19-32.el8jbcs | Fixed | RHSA-2023:7625 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-mod_http2-0:1.15.19-32.el7jbcs | Fixed | RHSA-2023:7625 |
| Red Hat Enterprise Linux 8 | httpd:2.4-8100020240405103607.e155f54d | Fixed | RHSA-2024:3121 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | httpd:2.4-8080020240502175002.63b34585 | Fixed | RHSA-2024:2891 |
| Red Hat Enterprise Linux 9 | mod_http2-0:2.0.26-1.el9 | Fixed | RHSA-2024:2368 |
| Red Hat Enterprise Linux 6 | httpd | Out of support scope | n/a |
| Red Hat Enterprise Linux 7 | httpd | Not affected | n/a |
| Red Hat Enterprise Linux 9 | httpd | Not affected | n/a |
| Red Hat JBoss Enterprise Application Platform 6 | httpd22 | Out of support scope | n/a |
| Red Hat Software Collections | httpd24 | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
During "normal" HTTP/2 use, the probability of encountering this issue is very low. The kept memory would not become noticeable before the connection closes or times out.
Red Hat mitigation
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
References (10)
- https://access.redhat.com/security/cve/CVE-2023-45802 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2243877 Issue Tracking
- https://httpd.apache.org/security/vulnerabilities_24.html vendor-advisoryVendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/05/msg00013.html Mailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MBEPPC36UBVOZZNAXFHKLFGSLCMN5LI/ Mailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BFQD3KUEMFBHPAPBGLWQC34L4OWL5HAZ/ Mailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WE2I52RHNNU42PX6NZ2RBUHSFFJ2LVZX/ Mailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-45802
- https://security.netapp.com/advisory/ntap-20231027-0011/ Third Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2023-45802
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2023-45802 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2243877 | Issue Tracking | |
| https://httpd.apache.org/security/vulnerabilities_24.html | vendor-advisoryVendor Advisory | |
| https://lists.debian.org/debian-lts-announce/2024/05/msg00013.html | Mailing ListThird Party Advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MBEPPC36UBVOZZNAXFHKLFGSLCMN5LI/ | Mailing ListThird Party Advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BFQD3KUEMFBHPAPBGLWQC34L4OWL5HAZ/ | Mailing ListThird Party Advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WE2I52RHNNU42PX6NZ2RBUHSFFJ2LVZX/ | Mailing ListThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-45802 | ||
| https://security.netapp.com/advisory/ntap-20231027-0011/ | Third Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2023-45802 |
Change history (0)
No recorded changes yet.