CVE catalog

CVE-2025-25184

Rack vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debianruby-racksid3.2.7-1fixed
Debianruby-rackforky3.2.7-1fixed
Debianruby-racktrixie3.1.20-0+deb13u1fixed
Debianruby-racktrixie-security3.1.20-0+deb13u2fixed
Debianruby-rackbookworm2.2.22-0+deb12u1fixed
Debianruby-rackbookworm-security2.2.22-0+deb12u2fixed
Ubunturuby-racknoble2.2.7-1ubuntu0.2fixed
Ubunturuby-rackpro2.1.4-3vulnerable
Ubunturuby-rackpro2.1.4-4vulnerable
Ubunturuby-rackpro2.1.4-5vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm2vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm3vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm4vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm5vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1.1vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1.1+esm1fixed
Ubunturuby-rack24.042.2.4-3vulnerable
Ubunturuby-rack24.042.2.7-1vulnerable
Ubunturuby-rack24.042.2.7-1ubuntu0.1vulnerable
Ubunturuby-rack24.042.2.7-1ubuntu0.2fixed
Ubunturuby-rackpro2.1.4-3vulnerable
Ubunturuby-rackpro2.1.4-4vulnerable
Ubunturuby-rackpro2.1.4-5vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm2vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm3vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm4vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1+esm5vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1.1vulnerable
Ubunturuby-rackpro2.1.4-5ubuntu1.1+esm1fixed
Ubunturuby-rack24.042.2.4-3vulnerable
Ubunturuby-rack24.042.2.7-1vulnerable
Ubunturuby-rack24.042.2.7-1ubuntu0.1vulnerable
Ubunturuby-rack24.042.2.7-1ubuntu0.2fixed
Ubunturuby-rack25.102.2.7-1.1vulnerable
Ubunturuby-rack25.103.1.16-0.1fixed
Ubunturuby-rack26.043.1.16-0.1fixed
Opensuserubygem-rack-1_6leap 15.61.6.8-150000.3.3.1fixed
Suserubygem-racklinux enterprise high availability extension 15 sp32.0.8-150000.3.26.1fixed
Suserubygem-racklinux enterprise high availability extension 15 sp42.0.8-150000.3.26.1fixed
Suserubygem-racklinux enterprise high availability extension 15 sp52.0.8-150000.3.26.1fixed
Suserubygem-racklinux enterprise high availability extension 15 sp62.0.8-150000.3.26.1fixed
Opensuserubygem-rackleap 15.62.0.8-150000.3.26.1fixed
Ubunturuby-rack25.042.2.7-1.1vulnerable
Ubunturuby-rack25.042.2.7-1.1ubuntu0.25.04.1vulnerable
Ubunturuby-rack25.042.2.7-1.1ubuntu0.25.04.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-racksourcesid3.1.12-1not yet assignedNot reported[1098257]
Debianruby-racksourceforky3.1.12-1not yet assignedNot reported[1098257]
Debianruby-racksourcetrixie3.1.12-1not yet assignedNot reported[1098257]
Debianruby-racksourcebookworm2.2.13-1~deb12u1not yet assignedNot reported[1098257]
Ubunturuby-rackdebnoble2.2.7-1ubuntu0.2Not reportedNot reportedNot reported
Ubunturuby-rackdebpro2.1.4-5ubuntu1.1+esm1Not reportedUSN-7366-1Not reported
Ubunturuby-rackdeb24.042.2.7-1ubuntu0.2Not reportedUSN-7366-1Not reported
Ubunturuby-rackdebpro2.1.4-5ubuntu1.1+esm1Not reportedUBUNTU-CVE-2025-25184Not reported
Ubunturuby-rackdeb24.042.2.7-1ubuntu0.2Not reportedUBUNTU-CVE-2025-25184Not reported
Ubunturuby-rackdeb25.103.1.16-0.1Not reportedUBUNTU-CVE-2025-25184Not reported
Ubunturuby-rackdeb26.043.1.16-0.1Not reportedUBUNTU-CVE-2025-25184Not reported
Opensuserubygem-rack-1_6rpmleap 15.61.6.8-150000.3.3.1Not reportedSUSE-SU-2025:0858-1Not reported
Suserubygem-rackrpmlinux enterprise high availability extension 15 sp32.0.8-150000.3.26.1Not reportedSUSE-SU-2025:0874-1Not reported
Suserubygem-rackrpmlinux enterprise high availability extension 15 sp42.0.8-150000.3.26.1Not reportedSUSE-SU-2025:0874-1Not reported
Suserubygem-rackrpmlinux enterprise high availability extension 15 sp52.0.8-150000.3.26.1Not reportedSUSE-SU-2025:0874-1Not reported
Suserubygem-rackrpmlinux enterprise high availability extension 15 sp62.0.8-150000.3.26.1Not reportedSUSE-SU-2025:0874-1Not reported
Opensuserubygem-rackrpmleap 15.62.0.8-150000.3.26.1Not reportedSUSE-SU-2025:0874-1Not reported
Ubunturuby-rackdeb25.042.2.7-1.1ubuntu0.25.04.2Not reportedUSN-7366-2Not reported

[Debian bug #1098257]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ruby-rack]Fixed
    Details (4)
    • 2.2.22-0+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2.13-1~deb12u1

      usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12

    • 2.2.22-0+deb12u1 · all · bookworm

      Fixed · Fixed: 2.2.13-1~deb12u1

      usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12

    • 2.2.22-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.2.13-1~deb12u1

      usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12

    • 2.2.22-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.2.13-1~deb12u1

      usn · ruby-rack · debian · bookworm; usn · ruby-rack · debian · 12

[Debian 13 (Trixie)]

  • [ruby-rack]Fixed
    Details (5)
    • 3.1.20-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.1.12-1

      usn · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie

      Fixed · Fixed: 3.1.12-1

      usn · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.1.12-1

      usn · ruby-rack · debian · 13

    • 3.1.20-0+deb13u1 · all · trixie-security · Historical version

      Fixed · Fixed: 3.1.12-1

      usn · ruby-rack · debian · 13

    • 3.1.20-0+deb13u2 · all · trixie-security

      Fixed · Fixed: 3.1.12-1

      usn · ruby-rack · debian · 13

Observed:

References