CVE-2011-2197
publishedrubygem-activesupport: XSS due improper management of safe buffers
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
7- [rubyonrails-security] 20110607 Potential XSS Vulnerability in Ruby on Rails Applications http://groups.google.com/group/rubyonrails-security/msg/663b600d4471e0d4?dmode=source&output=gplain
- FEDORA-2011-8580 http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062514.html
- FEDORA-2011-8494 http://lists.fedoraproject.org/pipermail/package-announce/2011-June/062090.html
- [oss-security] 20110609 CVE Request: Ruby on Rails 3/rails_xss XSS http://openwall.com/lists/oss-security/2011/06/09/2
- [oss-security] 20110613 Re: CVE Request: Ruby on Rails 3/rails_xss XSS http://openwall.com/lists/oss-security/2011/06/13/9
- 44789 http://secunia.com/advisories/44789
- http://weblog.rubyonrails.org/2011/6/8/potential-xss-vulnerability-in-ruby-on-rails-applications
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 37024d0df2fa20f61e18f32a13fd5f5acf57461b981c0f00ddb5ca8c6873a1a5
- Ingested
- 23 Sep 2026, 07:39:02 UTC
- Source record
- Official CVE record