CVE-2011-2197
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Rubyonrails | Rails | 2.0.0 | — |
| Rubyonrails | Rails | 2.0.1 | — |
| Rubyonrails | Rails | 2.0.2 | — |
| Rubyonrails | Rails | 2.0.4 | — |
| Rubyonrails | Rails | 2.1.0 | — |
| Rubyonrails | Rails | 2.1.1 | — |
| Rubyonrails | Rails | 2.1.2 | — |
| Rubyonrails | Rails | 2.2.0 | — |
| Rubyonrails | Rails | 2.2.1 | — |
| Rubyonrails | Rails | 2.2.2 | — |
| Rubyonrails | Rails | 2.3.2 | — |
| Rubyonrails | Rails | 2.3.3 | — |
| Rubyonrails | Rails | 2.3.4 | — |
| Rubyonrails | Rails | 2.3.9 | — |
| Rubyonrails | Rails | 2.3.10 | — |
| Rubyonrails | Rails | 2.3.11 | — |
| Rubyonrails | Rails | 3.0.0 | — |
| Rubyonrails | Rails | 3.0.1 | — |
| Rubyonrails | Rails | 3.0.2 | — |
| Rubyonrails | Rails | 3.0.3 | — |
| Rubyonrails | Rails | 3.0.4 | Rc1 |
| Rubyonrails | Rails | 3.0.5 | — |
| Rubyonrails | Rails | 3.0.6 | — |
| Rubyonrails | Rails | 3.0.7 | — |
| Rubyonrails | Rails | 3.0.8 | Rc1 |
| Rubyonrails | Ruby On Rails | 3.0.4 | — |
| Rubyonrails | Rails | 3.1.0 | — |
References
- http://secunia.com/advisories/44789Vendor Advisory
- http://secunia.com/advisories/44789Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2011-2197?
How severe is CVE-2011-2197?
How do I fix CVE-2011-2197?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2011
- CVE-2011-2191Cross-site request forgery (CSRF) vulnerability in Cherokee-…
- CVE-2011-2192The Curl_input_negotiate function in http_negotiate.c in lib…
- CVE-2011-2193Multiple buffer overflows in Terascale Open-Source Resource …
- CVE-2011-2194Integer overflow in the XSPF playlist parser in VideoLAN VLC…
- CVE-2011-2195A flaw was found in WebSVN 2.3.2. Without prior authenticati…9.8
- CVE-2011-2196jboss-seam.jar in the JBoss Seam 2 framework 2.2.x and earli…
- CVE-2011-2198The "insert-blank-characters" capability in caps.c in gnome-…
- CVE-2011-2199Buffer overflow in tftp-hpa before 5.1 allows remote attacke…
- CVE-2011-2200The _dbus_header_byteswap function in dbus-marshal-header.c …
- CVE-2011-2201The Data::FormValidator module 4.66 and earlier for Perl, wh…
- CVE-2011-2202The rfc1867_post_handler function in main/rfc1867.c in PHP b…
- CVE-2011-2203The hfs_find_init function in the Linux kernel 2.6 allows lo…
Are you affected by CVE-2011-2197?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
