CVE-2024-24814 Denial of service when manipulating mod_auth_openidc_session_chunks cookie in mod_auth_openidc

High 7.5 Published Updated

Attackers can cause denial of service by sending crafted cookies with large integer values to the mod_auth_openidc module.

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-24814?

CVE-2024-24814 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 13 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

mod_auth_openidc is an OpenID Certified™ authentication and authorization module for the Apache 2.x HTTP server that implements the OpenID Connect Relying Party functionality. In affected versions missing input validation on mod_auth_openidc_session_chunks cookie value makes the server vulnerable to a denial of service (DoS) attack. An internal security audit has been conducted and the reviewers found that if they manipulated the value of the mod_auth_openidc_session_chunks cookie to a very large integer, like 99999999, the server struggles with the request for a long time and finally gets back with a 500 error. Making a few requests of this kind caused our server to become unresponsive. Attackers can craft requests that would make the server work very hard (and possibly become unresponsive) and/or crash with minimal effort. This issue has been addressed in version 2.4.15.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-400

Which versions are affected by CVE-2024-24814?

It affects 3 products.

Linux distribution packages (39)
cjose AlmaLinux:8All versions0.6.1-4.module_el8.10.0+3881+234adf82
cjose AlmaLinux:8All versions0.6.1-4.module_el8.9.0+3631+0ced13d7
cjose-devel AlmaLinux:8All versions0.6.1-4.module_el8.10.0+3881+234adf82
cjose-devel AlmaLinux:8All versions0.6.1-4.module_el8.9.0+3631+0ced13d7
mod_auth_openidc AlmaLinux:8All versions2.4.9.4-6.module_el8.10.0+3881+234adf82
mod_auth_openidc AlmaLinux:9All versions2.4.10-1.el9
cjose Red Hat:enterprise_linux:8::appstreamAll versions0:0.6.1-4.module+el8.10.0+21813+b5444eb8
cjose-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:0.6.1-4.module+el8.10.0+21813+b5444eb8
cjose-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:0.6.1-4.module+el8.10.0+21813+b5444eb8
cjose-devel Red Hat:enterprise_linux:8::appstreamAll versions0:0.6.1-4.module+el8.10.0+21813+b5444eb8
mod_auth_openidc Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.9.4-6.module+el8.10.0+21813+b5444eb8
mod_auth_openidc-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.9.4-6.module+el8.10.0+21813+b5444eb8
mod_auth_openidc-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:2.4.9.4-6.module+el8.10.0+21813+b5444eb8
mod_auth_openidc Red Hat:enterprise_linux:9::appstreamAll versions0:2.4.10-1.el9
mod_auth_openidc-debuginfo Red Hat:enterprise_linux:9::appstreamAll versions0:2.4.10-1.el9
mod_auth_openidc-debugsource Red Hat:enterprise_linux:9::appstreamAll versions0:2.4.10-1.el9
cjose Rocky Linux:8All versions0:0.6.1-4.module+el8.9.0+1384+4b58c166
mod_auth_openidc Rocky Linux:8All versions0:2.4.9.4-6.module+el8.10.0+1846+b7dcd2c3
mod_auth_openidc Rocky Linux:9All versions0:2.4.10-1.el9
apache2-mod_auth_openidc SUSE:Enterprise Storage 7.1All versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSSAll versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSAll versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSAll versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSAll versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Module for Server Applications 15 SP5All versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Module for Server Applications 15 SP6All versions2.3.8-150600.16.5.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server 12 SP5All versions2.4.0-7.12.2
apache2-mod_auth_openidc SUSE:Linux Enterprise Server 15 SP2-LTSSAll versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server 15 SP3-LTSSAll versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server 15 SP4-LTSSAll versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions2.4.0-7.12.2
apache2-mod_auth_openidc SUSE:Linux Enterprise Server for SAP Applications 15 SP2All versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server for SAP Applications 15 SP3All versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Linux Enterprise Server for SAP Applications 15 SP4All versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Manager Proxy 4.3All versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc SUSE:Manager Server 4.3All versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc openSUSE:Leap 15.5All versions2.3.8-150100.3.28.1
apache2-mod_auth_openidc openSUSE:Leap 15.6All versions2.3.8-150600.16.5.1
apache2-mod_auth_openidc openSUSE:TumbleweedAll versions2.4.15.3-1.1

Products include Debian Debian Linux, Fedoraproject Fedora, Openidc Mod Auth Openidc.

How do I fix CVE-2024-24814?

Upgrade to a fixed version.

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-24814 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24814 exists.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALSA-2024:5289, ALSA-2024:9180, AZL-42520, AZL-42537, CLSA-2025-1746655009, DEBIAN-CVE-2024-24814 and 16 more.

Is CVE-2024-24814 in your software?

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

Check your SBOMs for free