CVE-2014-9490: Sentry raven Denial of Service Vulnerability
MODERATECVE-2014-9490 is a MODERATE denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Sentry raven libraries in the RubyGems ecosystem. The issue involves sentry-raven allows remote attackers to cause a denial of service via a large exponent value in a scientific number. Remediation is available by upgrading affected packages to version 0.12.2.
CVE-2014-9490 at a Glance
How to Fix CVE-2014-9490
To remediate this vulnerability, upgrade all affected Sentry raven 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 sentry-raven to 0.12.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for sentry-raven
How to Check if You Are Affected
To determine whether your application is affected by CVE-2014-9490, inspect your project dependencies for Sentry raven:
inspect dependencies for sentry-raven
Analyze the terminal output to locate any version of Sentry raven in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.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 CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Sentry raven, 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-2014-9490 Affected Sentry raven Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
sentry-raven
|
RubyGems |
< 0.12.2
|
0.12.2
|
References
Frequently Asked Questions
What is CVE-2014-9490?
Which Sentry raven versions are affected?
What version fixes CVE-2014-9490?
Is sentry-raven affected?
What CWE is associated with CVE-2014-9490?
How can I check RubyGems dependencies for CVE-2014-9490?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c9c5-9fpr-m882",
"modified" : "2023-01-25T23:16:15Z",
"published" : "2017-10-24T18:33:36Z",
"aliases" : [ "CVE-2014-9490" ],
"summary" : "sentry-raven allows remote attackers to cause a denial of service via a large exponent value in a scientific number",
"details" : "The `numtok` function in `lib/raven/okjson.rb` in the raven-ruby gem before 0.12.2 for Ruby allows remote attackers to cause a denial of service via a large exponent value in a scientific number.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "sentry-raven"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.12.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-9490"
}, {
"type" : "WEB",
"url" : "https://github.com/getsentry/raven-ruby/commit/477ee93a3f735be33bc1e726820654cdf6e22d8f"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/99687"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/getsentry/raven-ruby"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sentry-raven/CVE-2014-9490.yml"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!topic/getsentry/Cz5bih0ZY1U"
}, {
"type" : "WEB",
"url" : "http://seclists.org/oss-sec/2015/q1/26"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:30:45Z",
"nvd_published_at" : "2015-01-20T15:59:05Z"
}
}