CVE-2009-3086: Actionpack Actionpack And Activesupport Vulnerable To Vulnerability
MODERATECVE-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
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.
Upgrade actionpack to 2.2.3
Upgrade actionpack to 2.3.4
Upgrade activesupport to 2.2.3
Upgrade activesupport to 2.3.4
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
CVE-2009-3086 Affected Actionpack Versions
4 component(s)| 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?
Which Actionpack versions are affected?
What version fixes CVE-2009-3086?
Is actionpack affected?
Is activesupport affected?
What CWE is associated with CVE-2009-3086?
How can I check RubyGems dependencies for CVE-2009-3086?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}