First published: Mon Jan 05 2015(Updated: )
An XML eXternal Entity (XXE) flaw was found in Nokogiri, a Ruby gem for parsing HTML, XML, and SAX. Using external XML entities, a remote attacker could specify a URL in a specially crafted XML that, when parsed, would cause a connection to that URL to be opened. A patch shipped with the 1.5.4 release of Nokogiri provided a "nonet" option to disable external connections. However, local file URLs could still be used to exploit this flaw. The 1.6.4 release of Nokogiri fixed this issue by using libxml2 2.9.0. Additional information is detailed at: <a href="https://github.com/sparklemotion/nokogiri/issues/693#issuecomment-68334768">https://github.com/sparklemotion/nokogiri/issues/693#issuecomment-68334768</a> CVE request and assignment: <a href="http://seclists.org/oss-sec/2015/q1/57">http://seclists.org/oss-sec/2015/q1/57</a>
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/nokogiri | <1.6.4 | 1.6.4 |
Nokogiri | <1.5.4 | |
Red Hat CloudForms Management Engine | =5.0 | |
Red Hat OpenShift | =2.0 | |
redhat openstack | =4.0 | |
redhat openstack | =6.0 | |
redhat openstack foreman | ||
redhat satellite | =6.0 | |
Red Hat Subscription Asset Manager | ||
Red Hat Enterprise MRG | =2.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2012-6685 is classified as a medium severity vulnerability that affects Nokogiri due to an XML eXternal Entity (XXE) flaw.
To fix CVE-2012-6685, you should upgrade Nokogiri to version 1.6.4 or later.
CVE-2012-6685 affects Nokogiri versions up to and including 1.5.4.
CVE-2012-6685 impacts several software products including Red Hat CloudForms Management Engine 5.0 and Red Hat OpenShift 2.0.
CVE-2012-6685 does not directly lead to remote code execution, but it can allow a remote attacker to open a connection to a URL in a specially crafted XML document.