CVE-2014-10077: I18n Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-34hf-g744-jw64
CVSS 7.5
CWE-20
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2014-10077
GHSA Identifier GHSA-34hf-g744-jw64
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-20: Improper Input Validation
Affected Product I18n
Package Ecosystem RubyGems
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (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.

i18n fixed: 0.8.0
Upgrade i18n to 0.8.0
Verify Direct and Transitive Dependencies

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

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.

CVE-2014-10077 Affected I18n Versions

1 component(s)
Fixed Versions:
0.8.0
Product / Package Ecosystem Affected Versions Fixed Version
i18n
RubyGems
< 0.8.0
0.8.0

References

Frequently Asked Questions

What is CVE-2014-10077?
CVE-2014-10077 is a security vulnerability in I18n involving i18n Vulnerable to Denial of Service Attack under CWE-20: Improper Input Validation.
Which I18n versions are affected?
Affected versions include releases prior to 0.8.0 across affected packages: i18n.
What version fixes CVE-2014-10077?
Upgrading to 0.8.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is i18n affected?
Yes, i18n is affected in releases prior to 0.8.0. Upgrade your dependency to 0.8.0 or later.
What is the CVSS score of CVE-2014-10077?
CVE-2014-10077 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2014-10077?
CVE-2014-10077 is classified under CWE-20: Improper Input Validation (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.).
How can I check RubyGems dependencies for CVE-2014-10077?
Run the dependency tree command: 'inspect dependencies for i18n'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}