CVE-2024-27316 Apache HTTP Server: HTTP/2 DoS by memory exhaustion on endless continuation frames

High 7.5 Published Updated

Attackers can cause memory exhaustion and denial of service by sending endless HTTP/2 continuation frames to Apache HTTP Server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-27316?

CVE-2024-27316 is a high-severity denial of service vulnerability in Apache Http Server, published on 4 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

HTTP/2 incoming headers exceeding the limit are temporarily buffered in nghttp2 in order to generate an informative HTTP 413 response. If a client does not stop sending headers, this leads to memory exhaustion.

Weakness: CWE-770

Which versions are affected by CVE-2024-27316?

1 open source package ship an affected version, including apache. It affects 3 products.

PackageAffectedFixed in
apache BitnamiFrom 2.4.172.4.59
Linux distribution packages (39)
httpd AlmaLinux:8All versions2.4.37-62.module_el8.9.0+3646+acd210d0
httpd-devel AlmaLinux:8All versions2.4.37-62.module_el8.9.0+3646+acd210d0
httpd-filesystem AlmaLinux:8All versions2.4.37-62.module_el8.9.0+3646+acd210d0
httpd-manual AlmaLinux:8All versions2.4.37-62.module_el8.9.0+3646+acd210d0
httpd-tools AlmaLinux:8All versions2.4.37-62.module_el8.9.0+3646+acd210d0
mod_http2 AlmaLinux:8All versions1.15.7-8.module_el8.9.0+3809+48080a14.5.alma.1
mod_ldap AlmaLinux:8All versions2.4.37-62.module_el8.9.0+3646+acd210d0
mod_md AlmaLinux:8All versions1:2.0.8-8.module_el8.6.0+2872+fe0ff7aa
mod_md AlmaLinux:8All versions1:2.0.8-8.module_el8.6.0+3031+fb177b09
mod_proxy_html AlmaLinux:8All versions1:2.4.37-62.module_el8.9.0+3646+acd210d0
mod_session AlmaLinux:8All versions2.4.37-62.module_el8.9.0+3646+acd210d0
mod_ssl AlmaLinux:8All versions1:2.4.37-62.module_el8.9.0+3646+acd210d0
mod_http2 AlmaLinux:9All versions1.15.19-5.el9_3.1
mod_http2 AlmaLinux:9All versions2.0.26-2.el9_4
httpd Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
httpd-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
httpd-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
httpd-devel Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
httpd-filesystem Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
httpd-manual Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
httpd-tools Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
httpd-tools-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
mod_http2 Red Hat:enterprise_linux:8::appstreamAll versions0:1.15.7-8.module+el8.9.0+21652+2dd1200b.5
mod_http2-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:1.15.7-8.module+el8.9.0+21652+2dd1200b.5
mod_http2-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:1.15.7-8.module+el8.9.0+21652+2dd1200b.5
mod_ldap Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
mod_ldap-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
mod_md Red Hat:enterprise_linux:8::appstreamAll versions1:2.0.8-8.module+el8.9.0+19080+567b90f8
mod_md-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions1:2.0.8-8.module+el8.9.0+19080+567b90f8
mod_md-debugsource Red Hat:enterprise_linux:8::appstreamAll versions1:2.0.8-8.module+el8.9.0+19080+567b90f8
mod_proxy_html Red Hat:enterprise_linux:8::appstreamAll versions1:2.4.37-62.module+el8.9.0+19699+7a7a2044
mod_proxy_html-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions1:2.4.37-62.module+el8.9.0+19699+7a7a2044
mod_session Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
mod_session-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.37-62.module+el8.9.0+19699+7a7a2044
mod_ssl Red Hat:enterprise_linux:8::appstreamAll versions1:2.4.37-62.module+el8.9.0+19699+7a7a2044
mod_ssl-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions1:2.4.37-62.module+el8.9.0+19699+7a7a2044
mod_http2 Red Hat:enterprise_linux:9::appstreamAll versions0:1.15.19-5.el9_3.1
mod_http2 Red Hat:enterprise_linux:9::appstreamAll versions0:2.0.26-2.el9_4
mod_http2-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:1.15.19-5.el9_3.1

Products include Apache Http Server, Fedoraproject Fedora, Netapp Ontap.

How do I fix CVE-2024-27316?

Upgrade apache to 2.4.59 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-27316 being exploited?

There is no known exploitation of CVE-2024-27316 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

All Apache Http Server vulnerabilities

Sources

Also known as ALPINE-CVE-2024-27316, ALSA-2024:1786, ALSA-2024:1872, ALSA-2024:2564, AZL-40001, AZL-40012 and 22 more.

Is CVE-2024-27316 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free