CVE-2023-45802: 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.
Medium CVSS 5.9
- CVE id
- CVE-2023-45802
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Apache HTTP Server Runtimes and servers |
>= 2.4.17, < 2.4.58 | 2.4.58 |
How to fix it
Upgrade Apache HTTP Server to 2.4.58 or later.
httpd -v
apache2 -v
- Install the patched Apache HTTP Server release (the httpd image tag, or your distribution's apache2/httpd security update) and restart it.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2023-45802 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2023-45802
- Web: https://httpd.apache.org/security/vulnerabilities_24.html
- Web: https://httpd.apache.org/security/vulnerabilities_24.html
- Web: https://lists.debian.org/debian-lts-announce/2024/05/msg00013.html
- Web: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MBEPPC36UBVOZZNAXFHKLFGSLCMN5LI/
- Web: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BFQD3KUEMFBHPAPBGLWQC34L4OWL5HAZ/
- Web: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WE2I52RHNNU42PX6NZ2RBUHSFFJ2LVZX/
- Web: https://security.netapp.com/advisory/ntap-20231027-0011/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.