MEDIUM
GHSA-9p3v-wf2w-v29c
Moderate severity vulnerability that affects rails
Quick fix
GHSA-9p3v-wf2w-v29c — rails: upgrade to the fixed version with the command below.
bundle update railsDetails
Cross-site scripting (XSS) vulnerability in the strip_tags function in Ruby on Rails before 2.2.s, and 2.3.x before 2.3.5, allows remote attackers to inject arbitrary web script or HTML via vectors involving non-printing ASCII characters, related to HTML::Tokenizer and actionpack/lib/action_controller/vendor/html-scanner/html/node.rb.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2009-4214[ADVISORY]
- https://github.com/advisories/GHSA-9p3v-wf2w-v29c[ADVISORY]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2009-4214.yml[WEB]
- http://github.com/rails/rails[PACKAGE]
- http://github.com/rails/rails/commit/bfe032858077bb2946abe25e95e485ba6da86bd5[WEB]
- http://groups.google.com/group/rubyonrails-security/browse_thread/thread/4d4f71f2aef4c0ab?pli=1[WEB]
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00004.html[WEB]
- http://secunia.com/advisories/37446[WEB]
- http://secunia.com/advisories/38915[WEB]
- http://support.apple.com/kb/HT4077[WEB]
- http://weblog.rubyonrails.org/2009/11/30/ruby-on-rails-2-3-5-released[WEB]
- http://www.debian.org/security/2011/dsa-2260[WEB]
- http://www.debian.org/security/2011/dsa-2301[WEB]
- http://www.openwall.com/lists/oss-security/2009/11/27/2[WEB]
- http://www.openwall.com/lists/oss-security/2009/12/08/3[WEB]
- http://www.securityfocus.com/bid/37142[WEB]
- http://www.securitytracker.com/id?1023245[WEB]
- http://www.vupen.com/english/advisories/2009/3352[WEB]