Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-25184

published medium CVSS 4.0 · 5.7

Possible Log Injection in Rack::CommonLogger

Published
12 Feb 2025, 16:20:46 UTC
Updated
03 Nov 2025, 21:12:48 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
rack — rack< 2.2.11 · >= 3.0, < 3.0.12 · >= 3.1, < 3.1.10 Affected Not stated GitHub_M
Debian bookworm ruby-rack Advisory build 2.2.13-1~deb12u1 DSA-5886-1
Oracle Linux 9 pcsaarch64 Advisory build 0:0.11.9-2.el9 ELSA-2025-7085
Red Hat Enterprise Linux RHEL-9 pcsaarch64 Advisory build 0.11.9-2.el9 RHSA-2025:7085
SUSE / openSUSE SLE-15-SP3 ruby2.5-rubygem-rackaarch64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
Ubuntu bionic ruby-rack Advisory build 1.6.4-4ubuntu0.2+esm7 USN-7366-1
Debian bullseye ruby-rack Advisory build 2.1.4-3+deb11u3 DLA-4090-1
Oracle Linux 9 pcsx86_64 Advisory build 0:0.11.9-2.el9 ELSA-2025-7085
Show 74 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 9 pcs-snmpaarch64 Advisory build 0:0.11.9-2.el9 ELSA-2025-7085
Oracle Linux 9 pcs-snmpx86_64 Advisory build 0:0.11.9-2.el9 ELSA-2025-7085
Red Hat Enterprise Linux RHEL-9 pcsppc64le Advisory build 0.11.9-2.el9 RHSA-2025:7085
Red Hat Enterprise Linux RHEL-9 pcss390x Advisory build 0.11.9-2.el9 RHSA-2025:7085
Red Hat Enterprise Linux RHEL-9 pcssrc Advisory build 0.11.9-2.el9 RHSA-2025:7085
Red Hat Enterprise Linux RHEL-9 pcsx86_64 Advisory build 0.11.9-2.el9 RHSA-2025:7085
Red Hat Enterprise Linux RHEL-9 pcs-snmpaarch64 Advisory build 0.11.9-2.el9 RHSA-2025:7085
Red Hat Enterprise Linux RHEL-9 pcs-snmpppc64le Advisory build 0.11.9-2.el9 RHSA-2025:7085
Red Hat Enterprise Linux RHEL-9 pcs-snmps390x Advisory build 0.11.9-2.el9 RHSA-2025:7085
Red Hat Enterprise Linux RHEL-9 pcs-snmpx86_64 Advisory build 0.11.9-2.el9 RHSA-2025:7085
SUSE / openSUSE SLE-15-SP3 ruby2.5-rubygem-rackppc64le Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP3 ruby2.5-rubygem-racks390x Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP3 ruby2.5-rubygem-rackx86_64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP4 ruby2.5-rubygem-rackaarch64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP4 ruby2.5-rubygem-rackppc64le Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP4 ruby2.5-rubygem-racks390x Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP4 ruby2.5-rubygem-rackx86_64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP5 ruby2.5-rubygem-rackaarch64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP5 ruby2.5-rubygem-rackppc64le Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP5 ruby2.5-rubygem-racks390x Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP5 ruby2.5-rubygem-rackx86_64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP6 ruby2.5-rubygem-rackaarch64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP6 ruby2.5-rubygem-rackppc64le Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP6 ruby2.5-rubygem-racks390x Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE SLE-15-SP6 ruby2.5-rubygem-rackx86_64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rackaarch64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rackppc64le Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-racks390x Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rackx86_64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-1_6aarch64 Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-1_6ppc64le Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-1_6s390x Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-1_6x86_64 Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-docaarch64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-docppc64le Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-docs390x Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-docx86_64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-doc-1_6aarch64 Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-doc-1_6ppc64le Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-doc-1_6s390x Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-doc-1_6x86_64 Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-testsuiteaarch64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-testsuiteppc64le Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-testsuites390x Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-testsuitex86_64 Advisory build 2.0.8-150000.3.26.1 SUSE-SU-2025:0874-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-testsuite-1_6aarch64 Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-testsuite-1_6ppc64le Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-testsuite-1_6s390x Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Leap-15.6 ruby2.5-rubygem-rack-testsuite-1_6x86_64 Advisory build 1.6.8-150000.3.3.1 SUSE-SU-2025:0858-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-rackaarch64 Advisory build 3.1.12-1.1 OPENSUSE-SU-2025:14875-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-rackppc64le Advisory build 3.1.12-1.1 OPENSUSE-SU-2025:14875-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-racks390x Advisory build 3.1.12-1.1 OPENSUSE-SU-2025:14875-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-rackx86_64 Advisory build 3.1.12-1.1 OPENSUSE-SU-2025:14875-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-rack-2.2aarch64 Advisory build 2.2.11-1.1 OPENSUSE-SU-2025:14811-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-rack-2.2ppc64le Advisory build 2.2.11-1.1 OPENSUSE-SU-2025:14811-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-rack-2.2s390x Advisory build 2.2.11-1.1 OPENSUSE-SU-2025:14811-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-rack-2.2x86_64 Advisory build 2.2.11-1.1 OPENSUSE-SU-2025:14811-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rackaarch64 Advisory build 3.1.18-1.3 OPENSUSE-SU-2026:10358-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rackppc64le Advisory build 3.1.18-1.3 OPENSUSE-SU-2026:10358-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-racks390x Advisory build 3.1.18-1.3 OPENSUSE-SU-2026:10358-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rackx86_64 Advisory build 3.1.18-1.3 OPENSUSE-SU-2026:10358-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2aarch64 Advisory build 2.2.22-1.1 OPENSUSE-SU-2026:10286-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2ppc64le Advisory build 2.2.22-1.1 OPENSUSE-SU-2026:10286-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2s390x Advisory build 2.2.22-1.1 OPENSUSE-SU-2026:10286-1
SUSE / openSUSE openSUSE-Tumbleweed ruby4.0-rubygem-rack-2.2x86_64 Advisory build 2.2.22-1.1 OPENSUSE-SU-2026:10286-1
Ubuntu focal ruby-rack Advisory build 2.0.7-2ubuntu0.1+esm6 USN-7366-1
Ubuntu jammy ruby-rack Advisory build 2.1.4-5ubuntu1.1+esm1 USN-7366-1
Ubuntu noble ruby-rack Advisory build 2.2.7-1ubuntu0.2 USN-7366-1
Ubuntu plucky ruby-rack Advisory build 2.2.7-1.1ubuntu0.25.04.2 USN-7366-2
Ubuntu trusty librack-ruby Advisory build 1.5.2-3+deb8u3ubuntu1~esm9 USN-7366-1
Ubuntu trusty librack-ruby1.8 Advisory build 1.5.2-3+deb8u3ubuntu1~esm9 USN-7366-1
Ubuntu trusty librack-ruby1.9.1 Advisory build 1.5.2-3+deb8u3ubuntu1~esm9 USN-7366-1
Ubuntu trusty ruby-rack Advisory build 1.5.2-3+deb8u3ubuntu1~esm9 USN-7366-1
Ubuntu xenial ruby-rack Advisory build 1.6.4-3ubuntu0.2+esm7 USN-7366-1

Description

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

21

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.7 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:P

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
rack rack < 2.2.11 (affected)>= 3.0, < 3.0.12 (affected)>= 3.1, < 3.1.10 (affected) GitHub_M · cna

Weaknesses

2
  • CWE-93 CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection') (GitHub_M · cna)
  • CWE-117 CWE-117: Improper Output Neutralization for Logs (GitHub_M · cna)

References

3

Provider assertions

3

GitHub_M · cna

Possible Log Injection in Rack::CommonLogger

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
aa64555e307e3042b29cf0586672f006e5584302fbebac0a65985d40a023c6a2
Ingested
23 Sep 2026, 08:41:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected