CVE-2014-10077: I18n Denial of Service Vulnerability
HIGHCVE-2014-10077 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-20: Improper Input Validation) affecting I18n libraries in the RubyGems ecosystem. The issue involves i18n vulnerable to denial of service attack. Remediation is available by upgrading affected packages to version 0.8.0.
CVE-2014-10077 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2014-10077
To remediate this vulnerability, upgrade all affected I18n 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 i18n to 0.8.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for i18n
How to Check if You Are Affected
To determine whether your application is affected by CVE-2014-10077, inspect your project dependencies for I18n:
inspect dependencies for i18n
Analyze the terminal output to locate any version of I18n in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.8.0), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In I18n, 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-10077 Affected I18n Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
i18n
|
RubyGems |
< 0.8.0
|
0.8.0
|
References
Frequently Asked Questions
What is CVE-2014-10077?
Which I18n versions are affected?
What version fixes CVE-2014-10077?
Is i18n affected?
What is the CVSS score of CVE-2014-10077?
What CWE is associated with CVE-2014-10077?
How can I check RubyGems dependencies for CVE-2014-10077?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-34hf-g744-jw64",
"modified" : "2023-07-03T21:49:57Z",
"published" : "2022-05-14T01:48:52Z",
"aliases" : [ "CVE-2014-10077" ],
"summary" : "i18n Vulnerable to Denial of Service Attack",
"details" : "Hash#slice in lib/i18n/core_ext/hash.rb in the i18n gem before 0.8.0 for Ruby allows remote attackers to cause a denial of service (application crash) via a call in a situation where :some_key is present in keep_keys but not present in the hash.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "i18n"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.8.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-10077"
}, {
"type" : "WEB",
"url" : "https://github.com/ruby-i18n/i18n/pull/250/commits/08293a41b34e93824563ca0f5b9b97e7451b6387"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/pull/182/files"
}, {
"type" : "WEB",
"url" : "https://github.com/svenfuchs/i18n/pull/289"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/i18n/CVE-2014-10077.yml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/svenfuchs/i18n"
}, {
"type" : "WEB",
"url" : "https://github.com/svenfuchs/i18n/releases/tag/v0.8.0"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2018/11/msg00021.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-06-17T21:39:16Z",
"nvd_published_at" : "2018-11-06T15:29:00Z"
}
}