GitHub Advisoryadvisory · RubyGems
GHSA-h835-75hw-pj89 activesupport Cross-site Scripting vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2012-3464
- Ecosystem
- RubyGems
- Packages
- activesupport
- Severity
- Moderate
- Weaknesses
- CWE-79
- Reviewed
- 2020-06-16
Affected packages
• RubyGems activesupport: >= 3.0.0.beta, < 3.0.17 → fixed in 3.0.17
• RubyGems activesupport: >= 3.1.0, < 3.1.8 → fixed in 3.1.8
• RubyGems activesupport: >= 3.2.0, < 3.2.8 → fixed in 3.2.8
• RubyGems activesupport: < 2.3.16 → fixed in 2.3.16
Description
Cross-site scripting (XSS) vulnerability in `activesupport/lib/active_support/core_ext/string/output_safety.rb` in Ruby on Rails before 2.3.16, 3.0.x before , 3.1.x before 3.1.8, and 3.2.x before 3.2.8 might allow remote attackers to inject arbitrary web script or HTML via vectors involving a ' (quote) character.
Related
Alias · CVE (1)
- CVE-2012-3464 Cross-site scripting (XSS) vulnerability in activesupport/lib/active_support/core_ext/string/output_safety.rb in Ruby on Rails before… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-3464 advisory
- https://github.com/rails/rails/issues/7215 web
- https://github.com/rails/rails/commit/28f2c6f4037081da0a82104a3f473165ed4ed2ce web
- https://github.com/rails/rails/commit/780a718723cf87b49cfe204d355948c4e0932d23 web
- https://github.com/rails/rails/commit/d0c9759d3aeb6327d68dd6c0de0fe2fed4e3c870 web
- https://github.com/rails/rails/commit/d549df7133f2b0bad8112890d478c33e990e12bc web
- https://github.com/advisories/GHSA-h835-75hw-pj89 advisory
- https://github.com/rails/rails package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2012-3464.yml web
- https://groups.google.com/group/rubyonrails-security/msg/8f1bbe1cef8c6caf?dmode=source&output=gplain web
- http://rhn.redhat.com/errata/RHSA-2013-0154.html web
- http://weblog.rubyonrails.org/2012/8/9/ann-rails-3-2-8-has-been-released web