6.5

CVE-2025-25184: rack CRLF Injection

CVSS: 6.5v3.1MediumModified
AliasesRHSA-2025:7085UBUNTU-CVE-2025-25184DEBIAN-CVE-2025-25184
Published 12-02-2025Last modified 03-11-2025

Vulnerability summary

CVE-2025-25184 is a medium (CVSS 6.5) CRLF Injection vulnerability in rack. EPSS estimates a 1.19% chance of exploitation in the next 30 days, higher than 67.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
36/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
1.19%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 11 · Related 21

Timeline

  1. 12-02-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

11 scores · 8 sources · 2 versions

EPSS trend

Probability

1.19%

Chance of exploitation in the next 30 days

Percentile

67%

Versus all other CVEs

30-day change

0.00 pp

From 1.19% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.19%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Rack

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard30 products
  • kube-fluentd-operator< 1.18.2-r23
  • kube-fluentd-operator-compat< 1.18.2-r23
  • kube-fluentd-operator-default-config< 1.18.2-r23
  • kube-fluentd-operator-oci-entrypoint< 1.18.2-r23
  • logstash-8-with-output-opensearch< 8.17.2-r1
Wolfi12 products
  • kube-fluentd-operator< 1.18.2-r23
  • kube-fluentd-operator-compat< 1.18.2-r23
  • kube-fluentd-operator-default-config< 1.18.2-r23
  • kube-fluentd-operator-oci-entrypoint< 1.18.2-r23
  • logstash-8-with-output-opensearch< 8.17.2-r1
Redhat2 products
  • pcs< 0:0.11.9-2.el9
  • pcs-snmp< 0:0.11.9-2.el9
Debian1 product
  • ruby-rack< 2.2.13-1~deb12u1 | < 3.1.12-1
Rack1 product
  • rack≥ 3.0, < 3.0.12 | ≥ 3.1, < 3.1.10 | < 2.2.11 | ≥ 3.0.0, < 3.0.12 | ≥ 3.1.0, < 3.1.10
RubyGems1 product
  • rack< 2.2.11 | ≥ 3.0, < 3.0.12 | ≥ 3.1, < 3.1.10
Ubuntu1 product
  • ruby-rack< 1.5.2-3+deb8u3ubuntu1~esm9 | < 1.6.4-3ubuntu0.2+esm7 | < 1.6.4-4ubuntu0.2+esm7 | < 2.0.7-2ubuntu0.1+esm6 | < 2.1.4-5ubuntu1.1+esm1 | < 2.2.7-1ubuntu0.2 | < 3.1.16-0.1

7 vendors · 48 products

References

27 links
Show all 27 references