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

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

- **Severity:** High 7.5 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 13 Feb 2024
- **Updated:** 10 Apr 2025
- **Also known as:** ALSA-2024:5289, ALSA-2024:9180, AZL-42520, AZL-42537, CLSA-2025-1746655009, DEBIAN-CVE-2024-24814, DLA-3751-1, GHSA-hxr6-w4gc-7vvv, MGASA-2024-0081, OESA-2024-1191, OESA-2024-1192, OESA-2024-1193, OESA-2024-1194, RHSA-2024:5289, RHSA-2024:9180, RLSA-2024:5289, RLSA-2024:9180, SUSE-SU-2024:0757-1, SUSE-SU-2024:0758-1, SUSE-SU-2024:2299-1, UBUNTU-CVE-2024-24814, openSUSE-SU-2024:13699-1

## 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 (Uncontrolled Resource Consumption)

## Which versions are affected by CVE-2024-24814?

It affects 3 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `cjose` | AlmaLinux:8 | All versions | 0.6.1-4.module_el8.10.0+3881+234adf82 |
| `cjose` | AlmaLinux:8 | All versions | 0.6.1-4.module_el8.9.0+3631+0ced13d7 |
| `cjose-devel` | AlmaLinux:8 | All versions | 0.6.1-4.module_el8.10.0+3881+234adf82 |
| `cjose-devel` | AlmaLinux:8 | All versions | 0.6.1-4.module_el8.9.0+3631+0ced13d7 |
| `mod_auth_openidc` | AlmaLinux:8 | All versions | 2.4.9.4-6.module_el8.10.0+3881+234adf82 |
| `mod_auth_openidc` | AlmaLinux:9 | All versions | 2.4.10-1.el9 |
| `cjose` | Red Hat:enterprise_linux:8::appstream | All versions | 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 |
| `cjose-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 |
| `cjose-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 |
| `cjose-devel` | Red Hat:enterprise_linux:8::appstream | All versions | 0:0.6.1-4.module+el8.10.0+21813+b5444eb8 |
| `mod_auth_openidc` | Red Hat:enterprise_linux:8::appstream | All versions | 0:2.4.9.4-6.module+el8.10.0+21813+b5444eb8 |
| `mod_auth_openidc-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:2.4.9.4-6.module+el8.10.0+21813+b5444eb8 |
| `mod_auth_openidc-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 0:2.4.9.4-6.module+el8.10.0+21813+b5444eb8 |
| `mod_auth_openidc` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.4.10-1.el9 |
| `mod_auth_openidc-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.4.10-1.el9 |
| `mod_auth_openidc-debugsource` | Red Hat:enterprise_linux:9::appstream | All versions | 0:2.4.10-1.el9 |
| `cjose` | Rocky Linux:8 | All versions | 0:0.6.1-4.module+el8.9.0+1384+4b58c166 |
| `mod_auth_openidc` | Rocky Linux:8 | All versions | 0:2.4.9.4-6.module+el8.10.0+1846+b7dcd2c3 |
| `mod_auth_openidc` | Rocky Linux:9 | All versions | 0:2.4.10-1.el9 |
| `apache2-mod_auth_openidc` | SUSE:Enterprise Storage 7.1 | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise Module for Server Applications 15 SP5 | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise Module for Server Applications 15 SP6 | All versions | 2.3.8-150600.16.5.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise Server 12 SP5 | All versions | 2.4.0-7.12.2 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise Server 15 SP2-LTSS | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise Server 15 SP3-LTSS | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise Server 15 SP4-LTSS | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 2.4.0-7.12.2 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Manager Proxy 4.3 | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | SUSE:Manager Server 4.3 | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | openSUSE:Leap 15.5 | All versions | 2.3.8-150100.3.28.1 |
| `apache2-mod_auth_openidc` | openSUSE:Leap 15.6 | All versions | 2.3.8-150600.16.5.1 |
| `apache2-mod_auth_openidc` | openSUSE:Tumbleweed | All versions | 2.4.15.3-1.1 |

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

## How do I fix CVE-2024-24814?

Upgrade to a fixed version.

## Is CVE-2024-24814 being exploited?

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

## Other vulnerabilities in Debian Debian Linux

- [CVE-2015-3306](https://insights.sbomify.com/CVE-2015-3306/): ProFTPD Improper Access Control (critical 10.0, exploited in the wild)
- [CVE-2025-49113](https://insights.sbomify.com/CVE-2025-49113/): RoundCube Webmail Deserialization of Untrusted Data (critical 9.9, exploited in the wild)
- [CVE-2026-24061](https://insights.sbomify.com/CVE-2026-24061/): GNU InetUtils Argument Injection (critical 9.8, exploited in the wild)
- [CVE-2025-39682](https://insights.sbomify.com/CVE-2025-39682/): Linux Kernel Improper Check for Unusual or Exceptional Conditions (critical 9.8, exploited in the wild)
- [CVE-2024-9680](https://insights.sbomify.com/CVE-2024-9680/): Mozilla Firefox Use-After-Free (critical 9.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-24814 and fix it if it is affected.

What it is: 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.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24814 exists.

Affected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-24814/ (Markdown: https://insights.sbomify.com/CVE-2024-24814/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-24814
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-24814
- OSV: https://osv.dev/vulnerability/CVE-2024-24814

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-24814/
Summaries are generated and may contain mistakes; the official description above is the record.
