Mission and Overview
NVD is the U.S. government repository of standards based vulnerability management data. This data enables automation of vulnerability management, security measurement, and compliance (e.g. FISMA).
Resource Status
NVD contains:

Last updated: 2/9/2016 8:58:34 AM

CVE Publication rate: 11.37

Email List

NVD provides four mailing lists to the public. For information and subscription instructions please visit NVD Mailing Lists

Workload Index
Vulnerability Workload Index: 4.43
About Us
NVD is a product of the NIST Computer Security Division and is sponsored by the Department of Homeland Security's National Cyber Security Division. It supports the U.S. government multi-agency (OSD, DHS, NSA, DISA, and NIST) Information Security Automation Program. It is the U.S. government content repository for the Security Content Automation Protocol (SCAP).

National Cyber Awareness System

Vulnerability Summary for CVE-2011-2197

Original release date: 06/30/2011
Last revised: 07/06/2012


The cross-site scripting (XSS) prevention feature in Ruby on Rails 2.x before 2.3.12, 3.0.x before 3.0.8, and 3.1.x before 3.1.0.rc2 does not properly handle mutation of safe buffers, which makes it easier for remote attackers to conduct XSS attacks via crafted strings to an application that uses a problematic string method, as demonstrated by the sub method.


CVSS Severity (version 2.0):
CVSS v2 Base Score: 4.3 (MEDIUM) (AV:N/AC:M/Au:N/C:N/I:P/A:N) (legend)
Impact Subscore: 2.9
Exploitability Subscore: 8.6
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Medium
Authentication: Not required to exploit
Impact Type: Allows unauthorized modification

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

External Source: CONFIRM
Name: http://weblog.rubyonrails.org/2011/6/8/potential-xss-vulnerability-in-ruby-on-rails-applications
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110609 CVE Request: Ruby on Rails 3/rails_xss XSS
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110613 Re: CVE Request: Ruby on Rails 3/rails_xss XSS
Type: Patch Information
External Source: FEDORA
Name: FEDORA-2011-8580
External Source: MLIST
Name: [rubyonrails-security] 20110607 Potential XSS Vulnerability in Ruby on Rails Applications
Type: Patch Information
External Source: FEDORA
Name: FEDORA-2011-8494

Vulnerable software and versions

+ Configuration 1
+ OR
* cpe:/a:rubyonrails:ruby_on_rails:2.3.11
* cpe:/a:rubyonrails:ruby_on_rails:2.2.2
* cpe:/a:rubyonrails:ruby_on_rails:2.3.10
* cpe:/a:rubyonrails:ruby_on_rails:2.2.0
* cpe:/a:rubyonrails:ruby_on_rails:2.2.1
* cpe:/a:rubyonrails:ruby_on_rails:2.1.1
* cpe:/a:rubyonrails:ruby_on_rails:2.1.2
* cpe:/a:rubyonrails:ruby_on_rails:2.1
* cpe:/a:rubyonrails:ruby_on_rails:2.1.0
* cpe:/a:rubyonrails:ruby_on_rails:2.0.2
* cpe:/a:rubyonrails:ruby_on_rails:2.0.4
* cpe:/a:rubyonrails:ruby_on_rails:2.0.0:rc2
* cpe:/a:rubyonrails:ruby_on_rails:2.0.1
* cpe:/a:rubyonrails:ruby_on_rails:2.0.0
* cpe:/a:rubyonrails:ruby_on_rails:2.0.0:rc1
* cpe:/a:rubyonrails:ruby_on_rails:2.3.3
* cpe:/a:rubyonrails:ruby_on_rails:2.3.2
* cpe:/a:rubyonrails:ruby_on_rails:2.3.9
* cpe:/a:rubyonrails:ruby_on_rails:2.3.4
+ Configuration 2
+ OR
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:beta
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:beta2
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:beta3
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:beta4
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:rc
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:rc2
* cpe:/a:rubyonrails:ruby_on_rails:3.0.1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.1:pre
* cpe:/a:rubyonrails:ruby_on_rails:3.0.2
* cpe:/a:rubyonrails:ruby_on_rails:3.0.2:pre
* cpe:/a:rubyonrails:ruby_on_rails:3.0.3
* cpe:/a:rubyonrails:ruby_on_rails:3.0.4
* cpe:/a:rubyonrails:ruby_on_rails:3.0.4:rc
* cpe:/a:rubyonrails:ruby_on_rails:3.0.4:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.5
* cpe:/a:rubyonrails:ruby_on_rails:3.0.5:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.6
* cpe:/a:rubyonrails:ruby_on_rails:3.0.6:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.6:rc2
* cpe:/a:rubyonrails:ruby_on_rails:3.0.7
* cpe:/a:rubyonrails:ruby_on_rails:3.0.7:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.7:rc2
* cpe:/a:rubyonrails:ruby_on_rails:3.0.8:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.8:rc2
* cpe:/a:rubyonrails:ruby_on_rails:3.0.8:rc3
* cpe:/a:rubyonrails:ruby_on_rails:3.0.8:rc4
+ Configuration 3
+ OR
* cpe:/a:rubyonrails:ruby_on_rails:3.1.0
* cpe:/a:rubyonrails:ruby_on_rails:3.1.0:beta1
* cpe:/a:rubyonrails:ruby_on_rails:3.1.0:rc1

* Denotes Vulnerable Software
Changes related to vulnerability configurations

Technical Details

Vulnerability Type (View All)
  • Cross-Site Scripting (XSS) (CWE-79)