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.
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
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| pcs · RHEL 9 | 0:0.11.9-2.el9 | RHSA-2025:7085 | May 13, 2025 |
| pcs · ol 9 | 0:0.11.9-2.el9 | ELSA-2025-7085 | May 16, 2025 |
| pcs-snmp · RHEL 9 | 0:0.11.9-2.el9 | RHSA-2025:7085 | May 13, 2025 |
| pcs-snmp · ol 9 | 0:0.11.9-2.el9 | ELSA-2025-7085 | May 16, 2025 |
| ruby-rack · Debian 11.6 (bullseye) | 2.1.4-3+deb11u3 | DLA-4090-1 | Mar 24, 2025 |
| ruby-rack · Debian 12.15 (bookworm) | 2.2.13-1~deb12u1 | DSA-5886-1 | Mar 25, 2025 |
| ruby-rack · Debian 13.5 (trixie) | 3.1.12-1 | DEBIAN-CVE-2025-25184 | Feb 12, 2025 |
| ruby-rack · Debian 14 | 3.1.12-1 | DEBIAN-CVE-2025-25184 | Feb 12, 2025 |
| ruby-rack · Ubuntu 18.04.6 LTS (bionic) | 1.6.4-4ubuntu0.2+esm7 | ruby-rack 1.6.4-4ubuntu0.2+esm7 | Mar 10, 2025 |
| ruby-rack · Ubuntu 20.04 LTS (focal) | 2.0.7-2ubuntu0.1+esm6 | ruby-rack 2.0.7-2ubuntu0.1+esm6 | Mar 10, 2025 |
| ruby-rack · Ubuntu 22.04.1 LTS (jammy) | 2.1.4-5ubuntu1.1+esm1 | ruby-rack 2.1.4-5ubuntu1.1+esm1 | Mar 10, 2025 |
| ruby-rack · Ubuntu 24.04.5 LTS (noble) | 2.2.7-1ubuntu0.2 | ruby-rack 2.2.7-1ubuntu0.2 | Mar 10, 2025 |
| ruby-rack · Ubuntu 24.10 (oracular) | 2.2.7-1.1ubuntu0.1 | ruby-rack 2.2.7-1.1ubuntu0.1 | Jan 16, 2026 |
| ruby-rack · Ubuntu 25.04 (plucky) | 2.2.7-1.1ubuntu0.25.04.2 | ruby-rack 2.2.7-1.1ubuntu0.25.04.2 | Jan 16, 2026 |
| ruby-rack · Ubuntu 25.10 (questing) | 3.1.16-0.1 | ruby-rack 3.1.16-0.1 | May 7, 2025 |
| ruby-rack · Ubuntu 26.04.1 LTS (resolute) | 3.1.16-0.1 | ruby-rack 3.1.16-0.1 | May 7, 2025 |
| rubygem-rack · opensuse-leap 15.6 | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 | Mar 14, 2025 |
| rubygem-rack · sles 15.6 | 2.0.8-150000.3.26.1 | SUSE-SU-2025:0874-1 | Mar 14, 2025 |
| rubygem-rack-1_6 · opensuse-leap 15.6 | 1.6.8-150000.3.3.1 | SUSE-SU-2025:0858-1 | Mar 13, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
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.