Upstream information

CVE-2025-25184 at MITRE

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.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having low severity.

CVSS v3 Scores
  SUSE
Base Score 2.6
Vector CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Attack Vector Adjacent Network
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact Low
Availability Impact None
CVSSv3 Version 3.1
CVSS v4 Scores
  CNA (GitHub) SUSE
Base Score 5.7 2.3
Vector 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Attack Vector Network Network
Attack Complexity Low High
Attack Requirements None Present
Privileges Required Low Low
User Interaction None None
Vulnerable System Confidentiality Impact None None
Vulnerable System Integrity Impact High Low
Vulnerable System Availability Impact None None
Subsequent System Confidentiality Impact None None
Subsequent System Integrity Impact None None
Subsequent System Availability Impact None None
CVSSv4 Version 4.0 4.0
SUSE Bugzilla entry: 1237141 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
openSUSE Tumbleweed
  • ruby3.4-rubygem-rack-2.2 >= 2.2.11-1.1
Patchnames:
openSUSE-Tumbleweed-2025-14811


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP6 rubygem-rack Affected
openSUSE Leap 15.6 rubygem-rack Affected
openSUSE Leap 15.6 rubygem-rack-1_6 Affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP3 rubygem-rack Affected
SUSE Linux Enterprise High Availability Extension 15 SP4 rubygem-rack Affected
SUSE Linux Enterprise High Availability Extension 15 SP5 rubygem-rack Affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise High Availability Extension 15 rubygem-rack Affected
SUSE Linux Enterprise High Availability Extension 15 SP1 rubygem-rack Affected
SUSE Linux Enterprise High Availability Extension 15 SP2 rubygem-rack Affected
openSUSE Leap 15.3 rubygem-rack Affected
openSUSE Leap 15.3 rubygem-rack-1_6 Affected
openSUSE Leap 15.4 rubygem-rack Affected
openSUSE Leap 15.4 rubygem-rack-1_6 Affected
openSUSE Leap 15.5 rubygem-rack Affected
openSUSE Leap 15.5 rubygem-rack-1_6 Affected


SUSE Timeline for this CVE

CVE page created: Wed Feb 12 20:00:40 2025
CVE page last modified: Sat Feb 15 21:01:53 2025