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: 4/18/2014

CVE Publication rate: 20.33

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: 8.86
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-2931

Original release date: 08/29/2011
Last revised: 07/06/2012
Source: US-CERT/NIST

Overview

Cross-site scripting (XSS) vulnerability in the strip_tags helper in actionpack/lib/action_controller/vendor/html-scanner/html/node.rb in Ruby on Rails before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allows remote attackers to inject arbitrary web script or HTML via a tag with an invalid name.

Impact

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; Victim must voluntarily interact with attack mechanism
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: FEDORA
Name: FEDORA-2011-11386
External Source: MLIST
Name: [rubyonrails-security] 20110816 XSS Vulnerability in strip_tags helper
Type: Patch Information
External Source: CONFIRM
Name: http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6
Type: Patch Information
External Source: SECUNIA
Name: 45921
External Source: MLIST
Name: [oss-security] 20110819 Re: CVE request: ruby on rails flaws (4)
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)
Type: Patch Information
External Source: FEDORA
Name: FEDORA-2011-11567
External Source: CONFIRM
Name: https://github.com/rails/rails/commit/586a944ddd4d03e66dea1093306147594748037a
Type: Patch Information
External Source: CONFIRM
Name: https://bugzilla.redhat.com/show_bug.cgi?id=731436
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)
External Source: FEDORA
Name: FEDORA-2011-11572
External Source: MLIST
Name: [oss-security] 20110817 CVE request: ruby on rails flaws (4)
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110820 Re: CVE request: ruby on rails flaws (4)
Type: Patch Information
External Source: DEBIAN
Name: DSA-2301

Vulnerable software and versions

Skip Navigation Links.
Collapse Configuration 1Configuration 1
Collapse OROR
* cpe:/a:rubyonrails:ruby_on_rails:2.3.11
* cpe:/a:rubyonrails:ruby_on_rails:2.3.12
* 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
* cpe:/a:rubyonrails:ruby_on_rails:3.0.8:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.5:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.8:rc2
* cpe:/a:rubyonrails:ruby_on_rails:3.0.6
* cpe:/a:rubyonrails:ruby_on_rails:3.0.8:rc3
* cpe:/a:rubyonrails:ruby_on_rails:3.0.6:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.8:rc4
* 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.4
* cpe:/a:rubyonrails:ruby_on_rails:3.0.7:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.4:rc
* cpe:/a:rubyonrails:ruby_on_rails:3.0.7:rc2
* cpe:/a:rubyonrails:ruby_on_rails:3.0.4:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.8
* cpe:/a:rubyonrails:ruby_on_rails:3.0.5
* cpe:/a:rubyonrails:ruby_on_rails:3.0.9:rc4
* cpe:/a:rubyonrails:ruby_on_rails:3.0.2
* cpe:/a:rubyonrails:ruby_on_rails:3.0.9:rc5
* cpe:/a:rubyonrails:ruby_on_rails:3.0.1:pre
* 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.9
* cpe:/a:rubyonrails:ruby_on_rails:3.0.9:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.9:rc2
* cpe:/a:rubyonrails:ruby_on_rails:3.0.9:rc3
* cpe:/a:rubyonrails:ruby_on_rails:3.0.10:rc1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:rc
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:beta4
* cpe:/a:rubyonrails:ruby_on_rails:3.0.1
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:rc2
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:beta
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:beta3
* cpe:/a:rubyonrails:ruby_on_rails:3.0.0:beta2
* 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
* cpe:/a:rubyonrails:ruby_on_rails:3.1.0:rc2
* cpe:/a:rubyonrails:ruby_on_rails:3.1.0:rc3
* cpe:/a:rubyonrails:ruby_on_rails:3.1.0:rc4
* Denotes Vulnerable Software
Changes related to vulnerability configurations

Technical Details

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