Improper Output Neutralization for Logs Affecting rubygem-rack package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Output Neutralization for Logs vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-RUBYGEMRACK-9375240
  • published8 Mar 2025
  • disclosed4 Mar 2025

Introduced: 4 Mar 2025

NewCVE-2025-27111  (opens in a new tab)
CWE-117  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 rubygem-rack.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-rack package and not the rubygem-rack package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

Rack is a modular Ruby web server interface. The Rack::Sendfile middleware logs unsanitised header values from the X-Sendfile-Type header. An attacker can exploit this by injecting escape sequences (such as newline characters) into the header, resulting in log injection. This vulnerability is fixed in 2.2.12, 3.0.13, and 3.1.11.

CVSS Base Scores

version 3.1