CVE-2013-1856
XML Parsing Vulnerability affecting JRuby users
Overview
Description
The ActiveSupport::XmlMini_JDOM backend in lib/active_support/xml_mini/jdom.rb in the Active Support component in Ruby on Rails 3.0.x and 3.1.x before 3.1.12 and 3.2.x before 3.2.13, when JRuby is used, does not properly restrict the capabilities of the XML parser, which allows remote attackers to read arbitrary files or cause a denial of service (resource consumption) via vectors involving (1) an external DTD or (2) an external entity declaration in conjunction with an entity reference.
Source: OX vulnerability database
Severity
5.8 · MEDIUM
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- Partial
AV:N/AC:M/Au:N/C:P/I:N/A:P
Weakness: CWE-20
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | activesupport | >=3.0.0, <3.1.12>=3.2.0, <3.2.13 | 3.1.123.2.13~> 3.1.12 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- lists.apple.com http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- lists.apple.com http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html
- support.apple.com http://support.apple.com/kb/HT5784
- weblog.rubyonrails.org http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released
- weblog.rubyonrails.org http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/
- github.com https://github.com/rails/rails
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2013-1856.yml
- groups.google.com https://groups.google.com/group/rubyonrails-security/msg/6c2482d4ed1545e6?dmode=source&output=gplain
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2013-1856
- web.archive.org https://web.archive.org/web/20130609174600/http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
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.