CWE
287
Advisory Published
Advisory Published
Updated

CVE-2009-2422

First published: Fri Jul 10 2009(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
rubygems/rails<2.3.3
2.3.3
Ruby on Rails=2.3.3
Ruby on Rails<2.3.3
macOS Yosemite>=10.6.0<10.6.3
macOS Yosemite=10.5.8
Apple Mac OS X Server>=10.6.0<10.6.3
Apple Mac OS X Server=10.5.8

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • What does CVE-2009-2422 affect?

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

  • When was CVE-2009-2422 published?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203