Skip to content

GHSA-fg9w-g6m4-557j CVE-2009-3086

actionpack and activesupport vulnerable to information leaks

Medium RubyGems
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

PackageVulnerableFixed 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

Timeline

  1. Published
  2. Last updated by the source
  3. Latest EPSS score
AdvisorySeverityWhy 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
Is this in your code?

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