CVE-2013-6461 Nokogiri vulnerable to DoS while parsing XML entities

Medium 6.5 Published Updated

Attackers can cause denial of service in applications using the Nokogiri Ruby gem by sending XML with excessive entity expansions.

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-6461?

CVE-2013-6461 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 and 1.6.x has DoS while parsing XML entities by failing to apply limits

Weakness: CWE-776

Which versions are affected by CVE-2013-6461?

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-6461?

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-6461 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as GHSA-jmhh-w7xp-wg39.

Is CVE-2013-6461 in your software?

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

Check your SBOMs for free