CVE-2009-2422Rubyonrails Ruby On Rails
Critical 9.8 No auth needed
Follow: this CVE · Rubyonrails · Rubyonrails Ruby On Rails We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Jul 10, 2009
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The example code for the digest authentication functionality (http_authentication.rb) in Ruby on Rails before 2.3.3 defines an authenticate_or_request_with_http_digest block that returns nil instead of false when the user does not exist, which allows context-dependent attackers to bypass authentication for applications that are derived from this example by sending an invalid username without a password.
What to do
- Apply the vendor's security update for Ruby On Rails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rails |
< 2.3.3 |
2.3.3 |
gem "rails", ">= 2.3.3" |
Per OSV / GitHub Advisories (GHSA-rxq3-gm4p-5fj4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | ruby_on_rails | < 2.3.3 |
| apple | mac_os_x | ≥ 10.6.0 < 10.6.3 |
| apple | mac_os_x | 10.5.8 |
| apple | mac_os_x_server | ≥ 10.6.0 < 10.6.3 |
| apple | mac_os_x_server | 10.5.8 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apple.com Mailing List
- n8.tumblr.com Exploit Patch
- secunia.com Broken Link Vendor Advisory
- support.apple.com Third Party Advisory
- weblog.rubyonrails.org Patch
- www.securityfocus.com Broken Link Patch Third Party Advisory
- www.vupen.com Broken Link Patch Vendor Advisory
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry