CVE-2013-1812: Ruby openid Denial of Service Vulnerability
MODERATECVE-2013-1812 is a MODERATE denial of service vulnerability (General Security Weakness) affecting Ruby openid libraries in the RubyGems ecosystem. The issue involves denial of service in ruby-openid. Remediation is available by upgrading affected packages to version 2.2.2.
CVE-2013-1812 at a Glance
How to Fix CVE-2013-1812
To remediate this vulnerability, upgrade all affected Ruby openid dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade ruby-openid to 2.2.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for ruby-openid
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-1812, inspect your project dependencies for Ruby openid:
inspect dependencies for ruby-openid
Analyze the terminal output to locate any version of Ruby openid in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.2), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Ruby openid, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2013-1812 Affected Ruby openid Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ruby-openid
|
RubyGems |
< 2.2.2
|
2.2.2
|
References
Frequently Asked Questions
What is CVE-2013-1812?
Which Ruby openid versions are affected?
What version fixes CVE-2013-1812?
Is ruby-openid affected?
What CWE is associated with CVE-2013-1812?
How can I check RubyGems dependencies for CVE-2013-1812?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6c8p-qphv-668v",
"modified" : "2023-06-09T20:18:48Z",
"published" : "2017-10-24T18:33:37Z",
"aliases" : [ "CVE-2013-1812" ],
"summary" : "Denial of service in ruby-openid",
"details" : "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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "ruby-openid"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.2.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-1812"
}, {
"type" : "WEB",
"url" : "https://github.com/openid/ruby-openid/pull/43"
}, {
"type" : "WEB",
"url" : "https://github.com/openid/ruby-openid/commit/a3693cef06049563f5b4e4824f4d3211288508ed"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=918134"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-6c8p-qphv-668v"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openid/ruby-openid"
}, {
"type" : "WEB",
"url" : "https://github.com/openid/ruby-openid/blob/master/CHANGELOG.md"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ruby-openid/CVE-2013-1812.yml"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-November/120204.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-November/120361.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2013/03/03/8"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:18:51Z",
"nvd_published_at" : "2013-12-12T18:55:10Z"
}
}