# CVE-2025-25184: ruby-rack: Rack provides an interface for developing web applications in Ruby

CVE-2025-25184 is fixed in 5 products on 1 platform, first by DEBIAN-CVE-2025-25184, released February 12, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-25184
- Priority: Routine
- CVSS: 6.5 (Low)
- EPSS: 0.0119
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 12, 2025

## Description

Rack provides an interface for developing web applications in Ruby. Priorto versions 2.2.11, 3.0.12, and 3.1.10, Rack::CommonLogger can be exploitedby crafting input that includes newline characters to manipulate logentries. The supplied proof-of-concept demonstrates injecting maliciouscontent into logs. When a user provides the authorization credentials viaRack::Auth::Basic, if success, the username will be put inenv['REMOTE_USER'] and later be used by Rack::CommonLogger for loggingpurposes. The issue occurs when a server intentionally or unintentionallyallows a user creation with the username contain CRLF and white spacecharacters, or the server just want to log every login attempts. If anattacker enters a username with CRLF character, the logger will log themalicious username with CRLF characters into the logfile. Attackers canbreak log formats or insert fraudulent entries, potentially obscuring realactivity or injecting malicious data into log files. Versions 2.2.11,3.0.12, and 3.1.10 contain a fix.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | pcs RHEL 9 | 0:0.11.9-2.el9 | [RHSA-2025:7085](https://patchblox.com/security/data/fix/linux/rhsa-2025-7085.md) | May 13, 2025 |
| Linux | pcs ol 9 | 0:0.11.9-2.el9 | [ELSA-2025-7085](https://patchblox.com/security/data/fix/linux/elsa-2025-7085.md) | May 16, 2025 |
| Linux | pcs-snmp RHEL 9 | 0:0.11.9-2.el9 | [RHSA-2025:7085](https://patchblox.com/security/data/fix/linux/rhsa-2025-7085.md) | May 13, 2025 |
| Linux | pcs-snmp ol 9 | 0:0.11.9-2.el9 | [ELSA-2025-7085](https://patchblox.com/security/data/fix/linux/elsa-2025-7085.md) | May 16, 2025 |
| Linux | ruby-rack Debian 11.6 (bullseye) | 2.1.4-3+deb11u3 | [DLA-4090-1](https://patchblox.com/security/data/fix/linux/dla-4090-1.md) | Mar 24, 2025 |
| Linux | ruby-rack Debian 12.15 (bookworm) | 2.2.13-1~deb12u1 | [DSA-5886-1](https://patchblox.com/security/data/fix/linux/dsa-5886-1.md) | Mar 25, 2025 |
| Linux | ruby-rack Debian 13.5 (trixie) | 3.1.12-1 | [DEBIAN-CVE-2025-25184](https://patchblox.com/security/data/fix/linux/debian-cve-2025-25184.md) | Feb 12, 2025 |
| Linux | ruby-rack Debian 14 | 3.1.12-1 | [DEBIAN-CVE-2025-25184](https://patchblox.com/security/data/fix/linux/debian-cve-2025-25184.md) | Feb 12, 2025 |
| Linux | ruby-rack Ubuntu 18.04.6 LTS (bionic) | 1.6.4-4ubuntu0.2+esm7 | [ruby-rack 1.6.4-4ubuntu0.2+esm7](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ruby-rack-1.6.4-4ubuntu0.2-esm7.md) | Mar 10, 2025 |
| Linux | ruby-rack Ubuntu 20.04 LTS (focal) | 2.0.7-2ubuntu0.1+esm6 | [ruby-rack 2.0.7-2ubuntu0.1+esm6](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ruby-rack-2.0.7-2ubuntu0.1-esm6.md) | Mar 10, 2025 |
| Linux | ruby-rack Ubuntu 22.04.1 LTS (jammy) | 2.1.4-5ubuntu1.1+esm1 | [ruby-rack 2.1.4-5ubuntu1.1+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ruby-rack-2.1.4-5ubuntu1.1-esm1.md) | Mar 10, 2025 |
| Linux | ruby-rack Ubuntu 24.04.5 LTS (noble) | 2.2.7-1ubuntu0.2 | [ruby-rack 2.2.7-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ruby-rack-2.2.7-1ubuntu0.2.md) | Mar 10, 2025 |
| Linux | ruby-rack Ubuntu 24.10 (oracular) | 2.2.7-1.1ubuntu0.1 | [ruby-rack 2.2.7-1.1ubuntu0.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-ruby-rack-2.2.7-1.1ubuntu0.1.md) | Jan 16, 2026 |
| Linux | ruby-rack Ubuntu 25.04 (plucky) | 2.2.7-1.1ubuntu0.25.04.2 | [ruby-rack 2.2.7-1.1ubuntu0.25.04.2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-ruby-rack-2.2.7-1.1ubuntu0.25.04.2.md) | Jan 16, 2026 |
| Linux | ruby-rack Ubuntu 25.10 (questing) | 3.1.16-0.1 | [ruby-rack 3.1.16-0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-ruby-rack-3.1.16-0.1.md) | May 7, 2025 |
| Linux | ruby-rack Ubuntu 26.04.1 LTS (resolute) | 3.1.16-0.1 | [ruby-rack 3.1.16-0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-ruby-rack-3.1.16-0.1.md) | May 7, 2025 |
| Linux | rubygem-rack opensuse-leap 15.6 | 2.0.8-150000.3.26.1 | [SUSE-SU-2025:0874-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0874-1.md) | Mar 14, 2025 |
| Linux | rubygem-rack sles 15.6 | 2.0.8-150000.3.26.1 | [SUSE-SU-2025:0874-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0874-1.md) | Mar 14, 2025 |
| Linux | rubygem-rack-1_6 opensuse-leap 15.6 | 1.6.8-150000.3.3.1 | [SUSE-SU-2025:0858-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-0858-1.md) | Mar 13, 2025 |

---

Data as of 2026-11-09T13:31:49Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
