NetSight
medium5.8

CVE-2013-1856

activesupport Improper Input Validation vulnerability

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
rubygemsactivesupport>= 3.0.0, < 3.1.123.1.12

Affected products

VendorProductAffected versions
RubyonrailsRails
Versions 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5
RubyonrailsRuby On Rails
Version 3.1.11

Weakness classification

References