CVE-2012-6685 Nokogiri is vulnerable to XML External Entity (XXE) attack

High 7.5 Published Updated

An attacker can exploit XML External Entity vulnerabilities in Nokogiri to read sensitive files or cause denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2012-6685?

CVE-2012-6685 is a high-severity vulnerability in Redhat Enterprise Mrg, published on 19 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Nokogiri before 1.5.4 is vulnerable to XXE attacks

Weakness: CWE-776

Which versions are affected by CVE-2012-6685?

2 open source packages ship an affected version, including nokogiri. It affects 8 products.

PackageAffectedFixed in
nokogiri RubyGemsAll versions1.5.4
nokogiri RubyGemsAll versions1.5.4

Products include Nokogiri Nokogiri, Redhat Cloudforms Management Engine, Redhat Enterprise Mrg, Redhat Openshift, Redhat Openstack, Redhat Openstack Foreman and 2 more.

How do I fix CVE-2012-6685?

Upgrade nokogiri to 1.5.4 or later.

Is CVE-2012-6685 being exploited?

There is no known exploitation of CVE-2012-6685 in the wild and no public exploit code.

All Redhat Enterprise Mrg vulnerabilities

Sources

Also known as DEBIAN-CVE-2012-6685, DLA-229-1, GHSA-6wj9-77wq-jq7p.

Is CVE-2012-6685 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free