CVE-2012-1098
rubygem-activesupport: XSS in SafeBuffer#[] (unescaped safe buffers can be marked as safe)
Overview
Description
Cross-site scripting (XSS) vulnerability in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and 3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML via vectors involving a SafeBuffer object that is manipulated through certain methods.
Source: OX vulnerability database
Severity
4.3 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
AV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | activesupport | >=3.0.0, <3.0.12>=3.1.0, <3.1.4>=3.2.0, <3.2.2 | 3.0.123.1.43.2.2~> 3.0.12~> 3.1.4 |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rails | 2.3.14 |
| 12 | rails | 2.3.14 |
| 13 | rails | 2.3.14 |
| 14 | rails | 2.3.14 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| rails | 2.3.14 |
References
- groups.google.com http://groups.google.com/group/rubyonrails-security/msg/1c2e01a5e42722c9?dmode=source&output=gplain
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2012-March/075675.html
- weblog.rubyonrails.org http://weblog.rubyonrails.org/2012/3/1/ann-rails-3-0-12-has-been-released
- www.openwall.com http://www.openwall.com/lists/oss-security/2012/03/02/6
- www.openwall.com http://www.openwall.com/lists/oss-security/2012/03/03/1
- access.redhat.com https://access.redhat.com/security/cve/CVE-2012-1098
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=799275
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2012-1098
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2012-1098
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.