Live threats

All CVEs / Rubyonrails

CVE-2009-2422Rubyonrails Ruby On Rails

Critical 9.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby On Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
rubyonrailsruby_on_rails< 2.3.3
applemac_os_x≥ 10.6.0 < 10.6.3
applemac_os_x10.5.8
applemac_os_x_server≥ 10.6.0 < 10.6.3
applemac_os_x_server10.5.8

Official sources

References

Links published by the sources. Open them with care.