原始 OSV JSON{
"id": "GHSA-3vfw-7rcp-3xgm",
"aliases": [
"CVE-2011-3187"
],
"details": "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.",
"summary": "actionpack Improper Input Validation vulnerability",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.3.13"
}
]
}
],
"package": {
"name": "actionpack",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-05-12T15:20:04Z",
"severity": [],
"published": "2017-10-24T18:33:38Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2011-3187",
"type": "ADVISORY"
},
{
"url": "https://bugzilla.novell.com/show_bug.cgi?id=673010",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-3187.yml",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20111209181000/http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html",
"type": "WEB"
},
{
"url": "http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2011/08/17/1",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2011/08/19/11",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2011/08/20/1",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/13",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/14",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/5",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2011-08-29T18:55:01Z",
"github_reviewed_at": "2020-06-16T20:56:30Z"
}
}