CVE-2013-1812 Denial of service in ruby-openid

Medium 4.3 Published Updated

Remote attackers can cause denial of service via CPU exhaustion using large XRDS documents or XML Entity Expansion attacks in the ruby-openid gem.

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

What is CVE-2013-1812?

CVE-2013-1812 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 12 Dec 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The ruby-openid gem before 2.2.2 for Ruby allows remote OpenID providers to cause a denial of service (CPU consumption) via (1) a large XRDS document or (2) an XML Entity Expansion (XEE) attack.

Weakness: CWE-399

Which versions are affected by CVE-2013-1812?

2 open source packages ship an affected version, including ruby-openid. It affects 2 products.

PackageAffectedFixed in
ruby-openid RubyGemsAll versions2.2.2
ruby-openid RubyGemsAll versions2.2.2

Products include Fedoraproject Fedora, Janrain Ruby-Openid.

How do I fix CVE-2013-1812?

Upgrade ruby-openid to 2.2.2 or later.

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

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-1812, GHSA-6c8p-qphv-668v.

Is CVE-2013-1812 in your software?

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

Check your SBOMs for free