CVE-2009-2422: Apple Mac OS X

Critical severity, CVSS 9.8. EPSS: 3.4% probability of exploitation activity in the next 30 days.

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

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Apple Mac OS X, from 10.6.0, before 10.6.3: fixed in 10.6.3
  • Apple Mac OS X Server, from 10.6.0, before 10.6.3: fixed in 10.6.3
  • Rubyonrails Ruby On Rails, before 2.3.3: fixed in 2.3.3

Affected products

Affected packages

Published 2009-07-10. Last modified 2026-06-16.