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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | actionpack (RubyGems) | 2.3.0 to before 2.3.13 | 2.3.13 | Patch available | GHSA-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
Remediation
- Fix · GHSA-3vfw-7rcp-3xgm actionpack (RubyGems) Fixed in 2.3.13 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2011-3187
- 2026-10-03 Alias added: GHSA-3vfw-7rcp-3xgm
References
Exploit 3
Patch 5
- [oss-security] 20110817 CVE request: ruby on rails flaws (4)
- [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)
- [oss-security] 20110819 Re: CVE request: ruby on rails flaws (4)
- [oss-security] 20110820 Re: CVE request: ruby on rails flaws (4)
- [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)
More Rails vulnerabilities
- 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
Sources
- CVE-2011-3187 · CVE Program
- CVE-2011-3187 · NVD
- FIRST EPSS
- GHSA-3vfw-7rcp-3xgm · GitHub Advisory Database · CC BY 4.0
- CVE-2011-3187 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences