CVE-2009-2422: Critical severity ruby on rails vulnerability

Published Jul 10, 2009
·
Updated

The example code for the digest authentication functionality (httpauthentication.rb) in Ruby on Rails before 2.3.3 defines an authenticateorrequestwithhttpdigest 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.

Affected Software

7 affected componentsFixes available
rubygems/rails<2.3.3
2.3.3
David Hansson Ruby On Rails=2.3.3
rubyonrails ruby on Rails<2.3.3
Apple iOS and macOS>=10.6.0<10.6.3
Apple iOS and macOS=10.5.8
Apple Mac OS X Server>=10.6.0<10.6.3
Apple Mac OS X Server=10.5.8

Event History

Jul 10, 2009
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Oct 24, 2017
Advisory Published
via GitHub·06:33 PM

Frequently Asked Questions

1

What is the severity of CVE-2009-2422?

The severity of CVE-2009-2422 is considered to be moderate as it allows attackers to bypass authentication under certain conditions.

2

How do I fix CVE-2009-2422?

To fix CVE-2009-2422, you should upgrade to Ruby on Rails version 2.3.3 or later.

3

What does CVE-2009-2422 affect?

CVE-2009-2422 affects Ruby on Rails versions before 2.3.3, particularly its digest authentication functionality.

4

When was CVE-2009-2422 published?

CVE-2009-2422 was published on July 28, 2009.

5

Who is impacted by CVE-2009-2422?

Context-dependent attackers can exploit CVE-2009-2422 to bypass authentication in applications using affected versions of Ruby on Rails.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203