
CVE catalog
CVE-2025-25184
Rack vulnerabilities
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.19% · Oct 25, 2026
Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.11, 3.0.12, and 3.1.10, Rack::CommonLogger can be exploited by crafting input that includes newline characters to manipulate log entries. The supplied proof-of-concept demonstrates injecting malicious content into logs. When a user provides the authorization credentials via Rack::Auth::Basic, if success, the username will be put in env['REMOTE_USER'] and later be used by Rack::CommonLogger for logging purposes. The issue occurs when a server intentionally or unintentionally allows a user creation with the username contain CRLF and white space characters, or the server just want to log every login attempts. If an attacker enters a username with CRLF character, the logger will log the malicious username with CRLF characters into the logfile. Attackers can break log formats or insert fraudulent entries, potentially obscuring real activity or injecting malicious data into log files. Versions 2.2.11, 3.0.12, and 3.1.10 contain a fix.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ruby-rack | sid | 3.2.7-1 | fixed |
| Debian | ruby-rack | forky | 3.2.7-1 | fixed |
| Debian | ruby-rack | trixie | 3.1.20-0+deb13u1 | fixed |
| Debian | ruby-rack | trixie-security | 3.1.20-0+deb13u2 | fixed |
| Debian | ruby-rack | bookworm | 2.2.22-0+deb12u1 | fixed |
| Debian | ruby-rack | bookworm-security | 2.2.22-0+deb12u2 | fixed |
| Ubuntu | ruby-rack | noble | 2.2.7-1ubuntu0.2 | fixed |
| Ubuntu | ruby-rack | pro | 2.1.4-3 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-4 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm2 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm3 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm4 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm5 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1.1 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1.1+esm1 | fixed |
| Ubuntu | ruby-rack | 24.04 | 2.2.4-3 | vulnerable |
| Ubuntu | ruby-rack | 24.04 | 2.2.7-1 | vulnerable |
| Ubuntu | ruby-rack | 24.04 | 2.2.7-1ubuntu0.1 | vulnerable |
| Ubuntu | ruby-rack | 24.04 | 2.2.7-1ubuntu0.2 | fixed |
| Ubuntu | ruby-rack | pro | 2.1.4-3 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-4 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm2 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm3 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm4 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1+esm5 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1.1 | vulnerable |
| Ubuntu | ruby-rack | pro | 2.1.4-5ubuntu1.1+esm1 | fixed |
| Ubuntu | ruby-rack | 24.04 | 2.2.4-3 | vulnerable |
| Ubuntu | ruby-rack | 24.04 | 2.2.7-1 | vulnerable |
| Ubuntu | ruby-rack | 24.04 | 2.2.7-1ubuntu0.1 | vulnerable |
| Ubuntu | ruby-rack | 24.04 | 2.2.7-1ubuntu0.2 | fixed |
| Ubuntu | ruby-rack | 25.10 | 2.2.7-1.1 | vulnerable |
| Ubuntu | ruby-rack | 25.10 | 3.1.16-0.1 | fixed |
| Ubuntu | ruby-rack | 26.04 | 3.1.16-0.1 | fixed |
| Opensuse | rubygem-rack-1_6 | leap 15.6 | 1.6.8-150000.3.3.1 | fixed |
| Suse | rubygem-rack | linux enterprise high availability extension 15 sp3 | 2.0.8-150000.3.26.1 | fixed |
| Suse | rubygem-rack | linux enterprise high availability extension 15 sp4 | 2.0.8-150000.3.26.1 | fixed |
| Suse | rubygem-rack | linux enterprise high availability extension 15 sp5 | 2.0.8-150000.3.26.1 | fixed |
| Suse | rubygem-rack | linux enterprise high availability extension 15 sp6 | 2.0.8-150000.3.26.1 | fixed |
| Opensuse | rubygem-rack | leap 15.6 | 2.0.8-150000.3.26.1 | fixed |
| Ubuntu | ruby-rack | 25.04 | 2.2.7-1.1 | vulnerable |
| Ubuntu | ruby-rack | 25.04 | 2.2.7-1.1ubuntu0.25.04.1 | vulnerable |
| Ubuntu | ruby-rack | 25.04 | 2.2.7-1.1ubuntu0.25.04.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ruby-rack | source | sid | 3.1.12-1 | not yet assigned | Not reported | [1098257] |
| Debian | ruby-rack | source | forky | 3.1.12-1 | not yet assigned | Not reported | [1098257] |
| Debian | ruby-rack | source | trixie | 3.1.12-1 | not yet assigned | Not reported | [1098257] |
| Debian | ruby-rack | source | bookworm | 2.2.13-1~deb12u1 | not yet assigned | Not reported | [1098257] |
| Ubuntu | ruby-rack | deb | noble | 2.2.7-1ubuntu0.2 | Not reported | Not reported | Not reported |
| Ubuntu | ruby-rack | deb | pro | 2.1.4-5ubuntu1.1+esm1 | Not reported | USN-7366-1 | Not reported |
| Ubuntu | ruby-rack | deb | 24.04 | 2.2.7-1ubuntu0.2 | Not reported | USN-7366-1 | Not reported |
| Ubuntu | ruby-rack | deb | pro | 2.1.4-5ubuntu1.1+esm1 | Not reported | UBUNTU-CVE-2025-25184 | Not reported |
| Ubuntu | ruby-rack | deb | 24.04 | 2.2.7-1ubuntu0.2 | Not reported | UBUNTU-CVE-2025-25184 | Not reported |
| Ubuntu | ruby-rack | deb | 25.10 | 3.1.16-0.1 | Not reported | UBUNTU-CVE-2025-25184 | Not reported |
| Ubuntu | ruby-rack | deb | 26.04 | 3.1.16-0.1 | Not reported | UBUNTU-CVE-2025-25184 | Not reported |
| Opensuse | rubygem-rack-1_6 | rpm | leap 15.6 | 1.6.8-150000.3.3.1 | Not reported | SUSE-SU-2025:0858-1 | Not reported |
| Suse | rubygem-rack | rpm | linux enterprise high availability extension 15 sp3 | 2.0.8-150000.3.26.1 | Not reported | SUSE-SU-2025:0874-1 | Not reported |
| Suse | rubygem-rack | rpm | linux enterprise high availability extension 15 sp4 | 2.0.8-150000.3.26.1 | Not reported | SUSE-SU-2025:0874-1 | Not reported |
| Suse | rubygem-rack | rpm | linux enterprise high availability extension 15 sp5 | 2.0.8-150000.3.26.1 | Not reported | SUSE-SU-2025:0874-1 | Not reported |
| Suse | rubygem-rack | rpm | linux enterprise high availability extension 15 sp6 | 2.0.8-150000.3.26.1 | Not reported | SUSE-SU-2025:0874-1 | Not reported |
| Opensuse | rubygem-rack | rpm | leap 15.6 | 2.0.8-150000.3.26.1 | Not reported | SUSE-SU-2025:0874-1 | Not reported |
| Ubuntu | ruby-rack | deb | 25.04 | 2.2.7-1.1ubuntu0.25.04.2 | Not reported | USN-7366-2 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ruby-rack]Fixed
Details (4)
2.2.22-0+deb12u1· all · bookwormFixed · Fixed:
2.2.13-1~deb12u1usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12
2.2.22-0+deb12u1· all · bookwormFixed · Fixed:
2.2.13-1~deb12u1usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12
2.2.22-0+deb12u2· all · bookworm-securityFixed · Fixed:
2.2.13-1~deb12u1usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12
2.2.22-0+deb12u2· all · bookworm-securityFixed · Fixed:
2.2.13-1~deb12u1usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12
[Debian 13 (Trixie)]
- [ruby-rack]Fixed
Details (5)
3.1.20-0+deb13u1· all · trixieFixed · Fixed:
3.1.12-1usn · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixieFixed · Fixed:
3.1.12-1usn · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixie-securityFixed · Fixed:
3.1.12-1usn · ruby-rack · debian · 13
3.1.20-0+deb13u1· all · trixie-security · Historical versionFixed · Fixed:
3.1.12-1usn · ruby-rack · debian · 13
3.1.20-0+deb13u2· all · trixie-securityFixed · Fixed:
3.1.12-1usn · ruby-rack · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_0858-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-25184]
- [https://osv.dev/vulnerability/DLA-4090-1]
- [https://osv.dev/vulnerability/DSA-5886-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:0858-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:0874-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-25184]
- [https://osv.dev/vulnerability/USN-7366-1]
- [https://osv.dev/vulnerability/USN-7366-2]
- [https://security-tracker.debian.org/tracker/CVE-2025-25184]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-25184.json]
- [https://ubuntu.com/security/notices/USN-7366-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-1012.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]