CVE-2013-6460 Nokogiri vulnerable to DoS while parsing XML documents

Medium 6.5 Published Updated

Attackers can cause a denial of service in applications using the Nokogiri Ruby gem by submitting XML documents that trigger an infinite loop.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2013-6460?

CVE-2013-6460 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 5 Nov 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Nokogiri gem 1.5.x has Denial of Service via infinite loop when parsing XML documents

Weakness: CWE-776

Which versions are affected by CVE-2013-6460?

4 open source packages ship an affected version, including nokogiri. It affects 7 products.

PackageAffectedFixed in
nokogiri RubyGemsFrom 1.5.01.5.11
nokogiri RubyGemsFrom 1.5.01.5.11
nokogiri RubyGemsFrom 1.6.01.6.1
nokogiri RubyGemsFrom 1.6.01.6.1

Products include Debian Debian Linux, Nokogiri Nokogiri, Redhat Cloudforms Management Engine, Redhat Enterprise Mrg, Redhat Openstack, Redhat Satellite and 1 more.

How do I fix CVE-2013-6460?

Upgrade nokogiri to a fixed version for your release line: 1.5.11 or 1.6.1.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2013-6460 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-62qp-3fxm-9wxf.

Is CVE-2013-6460 in your software?

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

Check your SBOMs for free