Security mailing lists by PureSourceCode

CVE-2011-3187

MEDIUM 4.3CVSS 2.0

actionpack Improper Input Validation vulnerability

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.

Published
29 Aug 2011
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-3vfw-7rcp-3xgm
Sources
NVDJSONOSV GHSA-3vfw-7rcp-3xgmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rubyonrails rails
cpe:2.3:a:rubyonrails:rails:3.0.5:*:*:*:*:*:*:*
= 3.0.5
OSV RubyGems actionpack >= 2.3.0, < 2.3.13 2.3.13

References

History

  • 25 Nov 2026 20:16 UTC · NVD: first stored (published 29 Aug 2011)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.