CVE-2014-0082: Actionpack Actionpack Improper Input Validation Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-7cgp-c3g7-qvrw
CWE-20
Published
Advisory Summary

CVE-2014-0082 is a MODERATE actionpack improper input validation vulnerability vulnerability (CWE-20: Improper Input Validation) affecting Actionpack libraries in the RubyGems ecosystem. The issue involves actionpack improper input validation vulnerability. Remediation is available by upgrading affected packages to version 3.2.17.

CVE-2014-0082 at a Glance

CVE Identifier CVE-2014-0082
GHSA Identifier GHSA-7cgp-c3g7-qvrw
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Actionpack
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2014-0082

To remediate this vulnerability, upgrade all affected Actionpack dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

actionpack fixed: 3.2.17
Upgrade actionpack to 3.2.17
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 actionpack

How to Check if You Are Affected

To determine whether your application is affected by CVE-2014-0082, inspect your project dependencies for Actionpack:

inspect dependencies for actionpack

Analyze the terminal output to locate any version of Actionpack in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.2.17), 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 Actionpack, 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

`actionpack/lib/action_view/template/text.rb` in Action View in Ruby on Rails 3.x before 3.2.17 converts MIME type strings to symbols during use of the `:text` option to the `render` method, which allows remote attackers to cause a denial of service (memory consumption) by including these strings in headers.

CVE-2014-0082 Affected Actionpack Versions

1 component(s)
Fixed Versions:
3.2.17
Product / Package Ecosystem Affected Versions Fixed Version
actionpack
RubyGems
≥ 3.0.0
< 3.2.17
3.2.17

References

Frequently Asked Questions

What is CVE-2014-0082?
CVE-2014-0082 is a security vulnerability in Actionpack involving actionpack Improper Input Validation vulnerability under CWE-20: Improper Input Validation.
Which Actionpack versions are affected?
Affected versions include releases prior to 3.2.17 across affected packages: actionpack.
What version fixes CVE-2014-0082?
Upgrading to 3.2.17 (or the latest patched release for your respective branch) resolves the vulnerability.
Is actionpack affected?
Yes, actionpack is affected in releases prior to 3.2.17. Upgrade your dependency to 3.2.17 or later.
What CWE is associated with CVE-2014-0082?
CVE-2014-0082 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-0082?
Run the dependency tree command: 'inspect dependencies for actionpack'. 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-7cgp-c3g7-qvrw",
  "modified" : "2023-06-30T21:25:19Z",
  "published" : "2017-10-24T18:33:36Z",
  "aliases" : [ "CVE-2014-0082" ],
  "summary" : "actionpack Improper Input Validation vulnerability",
  "details" : "`actionpack/lib/action_view/template/text.rb` in Action View in Ruby on Rails 3.x before 3.2.17 converts MIME type strings to symbols during use of the `:text` option to the `render` method, which allows remote attackers to cause a denial of service (memory consumption) by including these strings in headers.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.2.17"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-0082"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rails/rails"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2014-0082.yml"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201207044540/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/LMxO_3_eCuc/ozGBEhKaJbIJ"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20220315115444/https://puppet.com/security/cve/cve-2014-0082"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2014-02/msg00081.html"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2014/02/18/10"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-0215.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-0306.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.getchef.com/blog/2014/04/09/enterprise-chef-11-1-3-release"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:22:28Z",
    "nvd_published_at" : "2014-02-20T15:27:09Z"
  }
}