Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | 2.0.0 |
| Rubyonrails | Ruby On Rails | 3.0.4 |
Related Weaknesses (CWE)
References
- http://groups.google.com/group/rubyonrails-security/msg/663b600d4471e0d4?dmode=sPatch
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062514.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-June/062090.html
- http://openwall.com/lists/oss-security/2011/06/09/2Patch
- http://openwall.com/lists/oss-security/2011/06/13/9Patch
- http://secunia.com/advisories/44789Vendor Advisory
- http://weblog.rubyonrails.org/2011/6/8/potential-xss-vulnerability-in-ruby-on-raPatch
- http://groups.google.com/group/rubyonrails-security/msg/663b600d4471e0d4?dmode=sPatch
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062514.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-June/062090.html
- http://openwall.com/lists/oss-security/2011/06/09/2Patch
- http://openwall.com/lists/oss-security/2011/06/13/9Patch
- http://secunia.com/advisories/44789Vendor Advisory
- http://weblog.rubyonrails.org/2011/6/8/potential-xss-vulnerability-in-ruby-on-raPatch
FAQ
What is CVE-2011-2197?
CVE-2011-2197 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 e...
How severe is CVE-2011-2197?
CVE-2011-2197 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2011-2197?
Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Rails, Rubyonrails Ruby On Rails.