Improper Input Validation Affecting rails package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.69% (88th percentile)

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 Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN10-RAILS-384814
  • published29 Aug 2011
  • disclosed29 Aug 2011

Introduced: 29 Aug 2011

CVE-2011-3187  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

There is no fixed version for Debian:10 rails.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rails package and not the rails package as distributed by Debian. See How to fix? for Debian:10 relevant fixed versions and status.

The to_s method in actionpack/lib/action_dispatch/middleware/remote_ip.rb in Ruby on Rails 3.0.5 does not validate the X-Forwarded-For header in requests from IP addresses on a Class C network, which might allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.

CVSS Scores

version 3.1