---
title: CVE-2024-25126
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2024-25126
---

# CVE-2024-25126

Publication date 29 February 2024

Last updated 26 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**5.3 · Medium**

[Score breakdown](https://ubuntu.com/security/CVE-2024-25126#impact-score)

Toggle side navigation

## Description

Rack is a modular Ruby web server interface. Carefully crafted content type
headers can cause Rack’s media type parser to take much longer than
expected, leading to a possible denial of service vulnerability (ReDos 2nd
degree polynomial). This vulnerability is patched in 3.0.9.1 and 2.2.8.1.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ruby-rack | 25.04 plucky | Not affected |
| 24.10 oracular | Not affected |
| 24.04 LTS noble | Fixed 2.2.7-1ubuntu0.1 |
| 23.10 mantic | Fixed 2.2.4-3ubuntu0.2 |
| 22.04 LTS jammy | Fixed 2.1.4-5ubuntu1.1 |
| 20.04 LTS focal | Fixed 2.0.7-2ubuntu0.1+esm5  Ubuntu Pro |
| 18.04 LTS bionic | Not affected |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2024-25126#patch-details)

### Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

[Get Ubuntu Pro](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| ruby-rack | * Upstream:   [d9c163a](https://github.com/rack/rack/commit/d9c163a443b8cadf4711d84bd2c58cb9ef89cf49) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

5.3 · Medium

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | Low |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 5.3 · Medium |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-25126)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-25126)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2024-25126)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2024-25126)

### Related Ubuntu Security Notices (USN)

+ [USN-6837-1](https://usn.ubuntu.com/USN-6837-1)
+ Rack vulnerabilities
+ 17 June 2024

+ [USN-6837-2](https://usn.ubuntu.com/USN-6837-2)
+ Rack vulnerabilities
+ 19 August 2024

+ [USN-7036-1](https://usn.ubuntu.com/USN-7036-1)
+ Rack vulnerabilities
+ 26 September 2024

### Other references

* <https://github.com/rack/rack/releases/tag/v2.2.8.1>
* <https://www.cve.org/CVERecord?id=CVE-2024-25126>
