SB2011082908 - Input validation error in Ruby on Rails



SB2011082908 - Input validation error in Ruby on Rails

Published: August 29, 2011 Updated: September 29, 2025

Security Bulletin ID SB2011082908
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Information disclosure

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Input validation error (CVE-ID: CVE-2011-3187)

CWE-ID: CWE-20 - Improper input validation

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/U:Green


The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to to_s method in actionpack/lib/action_dispatch/middleware/remote_ip.rb in Ruby on Rails does not validate the X-Forwarded-For header in requests from IP addresses on a Class C network. A remote attacker can pass specially crafted input to the application and gain access to potentially sensitive information.


Remediation

Install update from vendor's website.