CVE-2013-1856 json
activesupport Improper Input Validation vulnerability
published 13y ago modified 4mo ago also GHSA-9c2j-593q-3g82 , EUVD-2017-0202
- cvss
- 5.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 81%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems activesupport 3.1.12, 3.2.13
Is CVE-2013-1856 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-1856 updated cvss 5.8
rubygem-activesupport: jdom: XML Parsing Vulnerability affecting JRuby users
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.05% chance of exploitation in the next 30 days, higher than 81% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:N/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | activesupport | >=3.0.0, <3.1.12 >=3.2.0, <3.2.13 |
3.1.12 3.2.13 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
-
lists.apple.com
/archives/security-announce/2013/Oct/msg00006.html
vendor-advisory, web
-
lists.apple.com
/archives/security-announce/2013/Jun/msg00000.html
vendor-advisory, web
-
support.apple.com
/kb/HT5784
web
-
groups.google.com
/group/rubyonrails-security/msg/6c2482d4ed1545e6?dmode=source&output=gplain
mailing-list, web
- weblog.rubyonrails.org /2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/
-
nvd.nist.gov
/vuln/detail/CVE-2013-1856
advisory
-
github.com
/rails/rails
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2013-1856.yml
web
-
web.archive.org
/web/20130609174600/http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
web
-
web.archive.org
/web/20131109010518/http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html
web
-
weblog.rubyonrails.org
/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released
web
Sources
- CVE List CVE-2013-1856
- GitHub Advisory GHSA-9c2j-593q-3g82
- NVD CVE-2013-1856
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.