GHSA-fg9w-g6m4-557j CVE-2009-3086
actionpack and activesupport vulnerable to information leaks
- Severity
- Medium
- The publisher's own rating, not a CVSS score
- Exploit chance (EPSS)
- 2.23%
- Chance of exploitation in the next 30 days. Higher than 82.77% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- Fix
- Available
- 2 packages have a fixed version
Description
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.
Affected versions
RubyGems
| Package | Vulnerable | Fixed in |
|---|---|---|
| actionpack | >= 2.1.0, < 2.2.3 |
2.2.3 |
| actionpack | >= 2.3.0, < 2.3.4 |
2.3.4 |
| activesupport | >= 2.1.0, < 2.2.3 |
2.2.3 |
| activesupport | >= 2.3.0, < 2.3.4 |
2.3.4 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
actionpack RubyGems → 2.2.3
- bundler
bundle update actionpack # Gemfile: gem "actionpack", ">= 2.2.3"
activesupport RubyGems → 2.2.3
- bundler
bundle update activesupport # Gemfile: gem "activesupport", ">= 2.2.3"
Weakness
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 to prevent it
- Architecture and Design: Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
References
Advisories
Packages
Other links
- github.com/rails/rails/commit/1f07a89c5946910fc28ea5ccd1da6af8a0f972a0
- github.com/rails/rails/commit/674f780d59a5a7ec0301755d43a7b277a3ad2978
- github.com/rails/rails/commit/d460c9a25560f43e7c3789abadf7b455053eb686
- github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2009-3086.yml
- github.com/rubysec/ruby-advisory-db/blob/master/gems/activesupport/CVE-2009-308…
- web.archive.org/web/20090906010200/http://www.vupen.com/english/advisories/2009/2544
- web.archive.org/web/20090907001716/http://secunia.com/advisories/36600
- web.archive.org/web/20200229150042/http://www.securityfocus.com/bid/37427
- lists.opensuse.org/opensuse-security-announce/2009-10/msg00004.html
- weblog.rubyonrails.org/2009/9/4/timing-weakness-in-ruby-on-rails
- debian.org/security/2011/dsa-2260
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-6x85-j5j2-27jx actionpack Path Traversal vulnerability | High Known exploited | Also affects actionpack |
| GHSA-xrr4-p6fq-hjg7 Directory traversal vulnerability in Action View in Ruby on Rails | High Known exploited | Also affects actionpack |
| GHSA-2j26-frm8-cmj9 Rails Active Support has a possible DoS vulnerability in its number helpers | High | Also affects activesupport |
| GHSA-89vf-4333-qx8v Rails Active Support has a possible XSS vulnerability in SafeBuffer#% | Medium | Also affects activesupport |
| GHSA-cg4j-q9v8-6v38 Rails Active Support has a possible ReDoS vulnerability in number_to_delimited | Medium | Also affects activesupport |
| GHSA-pgm4-439c-5jp6 Rails has a possible XSS vulnerability in its Action Pack debug exceptions | Medium | Also affects actionpack |
| GHSA-vfm5-rmrh-j26v Possible Content Security Policy bypass in Action Dispatch | Low | Also affects actionpack |
| GHSA-vfg9-r3fq-jvx4 Possible ReDoS vulnerability in HTTP Token authentication in Action Controller | Medium | Also affects actionpack |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor