CVE-2023-45802
Apache HTTP Server: HTTP/2 stream memory not reclaimed right away on RST
Check your servers for CVE-2023-45802
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-45802 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 4.88%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 92.8% of all scored CVEs. Scores of 27 Nov 2026.
The assessment of CISA (SSVC, 12 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-404 Improper Resource Shutdown or Release
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Apache HTTP Server |
affected from 2.4.17 up to and including 2.4.57
Other versions: unaffected
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2023-45802 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2023-45802RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2023-45802Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-45802
trivy image --scanners vuln IMAGE | grep CVE-2023-45802
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://httpd.apache.org/security/vulnerabilities_24.html httpd.apache.org · vendor advisory
Other references
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BFQD3KUEMFBHPAPBGLWQC34L4OWL5HAZ/ lists.fedoraproject.org
- https://security.netapp.com/advisory/ntap-20231027-0011/ security.netapp.com
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2MBEPPC36UBVOZZNAXFHKLFGSLCMN5LI/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WE2I52RHNNU42PX6NZ2RBUHSFFJ2LVZX/ lists.fedoraproject.org
- https://lists.debian.org/debian-lts-announce/2024/05/msg00013.html lists.debian.org
Source: the record CVE-2023-45802 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse