Improper Output Neutralization for Logs Affecting rack package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-RUBY-RACK-8720151
  • published13 Feb 2025
  • disclosed12 Feb 2025
  • creditHexSave

Introduced: 12 Feb 2025

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

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

rack is a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.

Affected versions of this package are vulnerable to Improper Output Neutralization for Logs through the Rack::CommonLogger process. An attacker can manipulate log entries by crafting input that includes newline characters to insert fraudulent entries or obscure real activity.

References

CVSS Scores

version 4.0
version 3.1