CVE-2009-3086: Actionpack Actionpack And Activesupport Vulnerable To Vulnerability

MODERATE
Advisory Identifier: GHSA-fg9w-g6m4-557j
CWE-200
Published
Advisory Summary

CVE-2009-3086 is a MODERATE actionpack and activesupport vulnerable to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Actionpack libraries in the RubyGems ecosystem. The issue involves actionpack and activesupport vulnerable to information leaks. Remediation is available by upgrading affected packages to version 2.2.3, 2.3.4.

CVE-2009-3086 at a Glance

CVE Identifier CVE-2009-3086
GHSA Identifier GHSA-fg9w-g6m4-557j
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Actionpack
Package Ecosystem RubyGems
Published Date
Last Updated

How to Fix CVE-2009-3086

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: 2.2.3
Upgrade actionpack to 2.2.3
actionpack fixed: 2.3.4
Upgrade actionpack to 2.3.4
activesupport fixed: 2.2.3
Upgrade activesupport to 2.2.3
activesupport fixed: 2.3.4
Upgrade activesupport to 2.3.4
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-2009-3086, 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 2.2.3), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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

A certain algorithm in Ruby on Rails 2.1.0 through 2.2.2, and 2.3.x before 2.3.4, leaks information about the complexity of message-digest signature verification in the cookie store, which might allow remote attackers to forge a digest via multiple attempts.

CVE-2009-3086 Affected Actionpack Versions

4 component(s)
Fixed Versions:
2.2.32.3.4
Product / Package Ecosystem Affected Versions Fixed Version
actionpack
RubyGems
≥ 2.1.0
< 2.2.3
2.2.3
actionpack
RubyGems
≥ 2.3.0
< 2.3.4
2.3.4
activesupport
RubyGems
≥ 2.1.0
< 2.2.3
2.2.3
activesupport
RubyGems
≥ 2.3.0
< 2.3.4
2.3.4

References

Frequently Asked Questions

What is CVE-2009-3086?
CVE-2009-3086 is a security vulnerability in Actionpack involving actionpack and activesupport vulnerable to information leaks under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Actionpack versions are affected?
Affected versions include releases prior to 2.2.3, 2.3.4 across affected packages: actionpack, activesupport.
What version fixes CVE-2009-3086?
Upgrading to 2.2.3, 2.3.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is actionpack affected?
Yes, actionpack is affected in releases prior to 2.2.3, 2.3.4. Upgrade your dependency to 2.2.3, 2.3.4 or later.
Is activesupport affected?
Yes, activesupport is affected in releases prior to 2.2.3, 2.3.4. Upgrade your dependency to 2.2.3, 2.3.4 or later.
What CWE is associated with CVE-2009-3086?
CVE-2009-3086 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check RubyGems dependencies for CVE-2009-3086?
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-fg9w-g6m4-557j",
  "modified" : "2023-05-26T17:12:19Z",
  "published" : "2017-10-24T18:33:38Z",
  "aliases" : [ "CVE-2009-3086" ],
  "summary" : "actionpack and activesupport vulnerable to information leaks",
  "details" : "A certain algorithm in Ruby on Rails 2.1.0 through 2.2.2, and 2.3.x before 2.3.4, leaks information about the complexity of message-digest signature verification in the cookie store, which might allow remote attackers to forge a digest via multiple attempts.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.2.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "actionpack"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.3.0"
      }, {
        "fixed" : "2.3.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "activesupport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.2.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "RubyGems",
      "name" : "activesupport"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.3.0"
      }, {
        "fixed" : "2.3.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-3086"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/commit/1f07a89c5946910fc28ea5ccd1da6af8a0f972a0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/commit/674f780d59a5a7ec0301755d43a7b277a3ad2978"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rails/rails/commit/d460c9a25560f43e7c3789abadf7b455053eb686"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/rails/rails"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2009-3086.yml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2009-3086.yml"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20090906010200/http://www.vupen.com/english/advisories/2009/2544"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20090907001716/http://secunia.com/advisories/36600"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200229150042/http://www.securityfocus.com/bid/37427"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html"
  }, {
    "type" : "WEB",
    "url" : "http://weblog.rubyonrails.org/2009/9/4/timing-weakness-in-ruby-on-rails"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2011/dsa-2260"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:34:36Z",
    "nvd_published_at" : "2009-09-08T18:30:00Z"
  }
}