CVE-2011-2197

UnknownEPSS 1.96%

Last modified

CVE-2011-2197 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 1.96% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
1.96%

77.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersionsUpdate
RubyonrailsRails2.0.0
RubyonrailsRails2.0.1
RubyonrailsRails2.0.2
RubyonrailsRails2.0.4
RubyonrailsRails2.1.0
RubyonrailsRails2.1.1
RubyonrailsRails2.1.2
RubyonrailsRails2.2.0
RubyonrailsRails2.2.1
RubyonrailsRails2.2.2
RubyonrailsRails2.3.2
RubyonrailsRails2.3.3
RubyonrailsRails2.3.4
RubyonrailsRails2.3.9
RubyonrailsRails2.3.10
RubyonrailsRails2.3.11
RubyonrailsRails3.0.0
RubyonrailsRails3.0.1
RubyonrailsRails3.0.2
RubyonrailsRails3.0.3
RubyonrailsRails3.0.4Rc1
RubyonrailsRails3.0.5
RubyonrailsRails3.0.6
RubyonrailsRails3.0.7
RubyonrailsRails3.0.8Rc1
RubyonrailsRuby On Rails3.0.4
RubyonrailsRails3.1.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2011-2197?
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.
How severe is CVE-2011-2197?
Severity scoring for CVE-2011-2197 is pending analysis. The EPSS model estimates a 1.96% probability of exploitation in the next 30 days.
How do I fix CVE-2011-2197?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2011-2197?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST