Back
CVE-2011-3187
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…
Medium4.3EPSS 6.7%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
- EPSS (exploitation in 30 days)
- 6.7% · top 6.1% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactionpackGHSA-3vfw-7rcp-3xgm (opens in a new tab)
References (9)
- 20110216 Ruby on Rails Vulnerability (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- [oss-security] 20110817 CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html (opens in a new tab)x_refsource_MISCx_transferred
- [oss-security] 20110819 Re: CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20110820 Re: CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://bugzilla.novell.com/show_bug.cgi?id=673010 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-3vfw-7rcp-3xgm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .