← Back

CVE-2011-2197

nvd nist
Published: Jun 30, 2011Modified: Apr 29, 2026

JSON object

Loading...
4.3
Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Exploitability: 8.6 / Impact: 2.9
Source: NVD

Description

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.

Affected (47)

2 products
Rails
Ruby On Rails
Configuration A
18 vulnerable
Vulnerable SoftwareAffected Versions
Rubyonrails
Version 2.0.0
Version 2.0.0 rc1
Version 2.0.0 rc2
Version 2.0.1
Version 2.0.2
Version 2.0.4
Version 2.1.0
Version 2.1.1
Version 2.1.2
Version 2.2.0
Version 2.2.1
Version 2.2.2
Version 2.3.10
Version 2.3.11
Version 2.3.2
Version 2.3.3
Version 2.3.4
Version 2.3.9
Configuration B
26 vulnerable
Vulnerable SoftwareAffected Versions
Rubyonrails
Version 3.0.0
Version 3.0.0 beta2
Version 3.0.0 beta3
Version 3.0.0 beta4
Version 3.0.0 beta
Version 3.0.0 rc2
Version 3.0.0 rc
Version 3.0.1
Version 3.0.1 pre
Version 3.0.2
Version 3.0.2 pre
Version 3.0.3
Version 3.0.4 rc1
Version 3.0.5
Version 3.0.5 rc1
Version 3.0.6
Version 3.0.6 rc1
Version 3.0.6 rc2
Version 3.0.7
Version 3.0.7 rc1
Version 3.0.7 rc2
Version 3.0.8 rc1
Version 3.0.8 rc2
Version 3.0.8 rc3
Version 3.0.8 rc4
Version 3.0.4
Configuration C
3 vulnerable
Vulnerable SoftwareAffected Versions
Rubyonrails
Version 3.1.0
Version 3.1.0 beta1
Version 3.1.0 rc1

References (14)

Source: secalert@redhat.com
Vendor Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory

Timeline

No history available yet.