Read the docs
TI-2011-02817 Aliases CVE-2011-3187GHSA-3vfw-7rcp-3xgm

The to_s method in actionpack/lib/action_dispatch/middleware/remote_ip.rb in Ruby on…

Priority LOW 30CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
—
Confidentiality · integrity · availability
None · Partial · None
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

EPSS 0.06666 93rd percentileScored 2026-11-07
Public exploit Yes 3 exploit referencesTagged by NVD
Fix Fixed actionpack (RubyGems): 2.3.13

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—actionpack (RubyGems)2.3.0 to before 2.3.132.3.13Patch availableGHSA-3vfw-7rcp-3xgm
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • actionpack (RubyGems) Vendor— Affected 2.3.0 to before 2.3.13 Fixed in 2.3.13 Patch available GHSA-3vfw-7rcp-3xgm

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rubyonrails:rails:3.0.5:*:*:*:*:*:*:*3.0.5VulnerableRails
  • cpe:2.3:a:rubyonrails:rails:3.0.5:*:*:*:*:*:*:* Versions 3.0.5 Vulnerable ·Rails

Remediation

  • Fix · GHSA-3vfw-7rcp-3xgm actionpack (RubyGems) Fixed in 2.3.13 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2011-3187
  2. 2026-10-03 Alias added: GHSA-3vfw-7rcp-3xgm

References

  • TI-2014-00124 Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the… KEVCVSS 3.1HIGH 7.5
  • TI-2019-03828 Path traversal in Rails https://github.com/rails/rails KEVCVSS 3.1HIGH 7.5
  • TI-2016-00672 Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x… KEVCVSS 3.1HIGH 7.5
  • TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
  • TI-2020-06581 Code injection in https://github.com/rails/rails CVSS 3.1HIGH 8.8
  • TI-2013-00091 active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before… CVSS 2.0HIGH 7.5
See all 117 →

Sources