Authentication bypassin the rails package.
No public exploit found; not on exploited lists.
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.
- Upgrade rails (RubyGems) to 2.3.3 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 10 Jul 2009CVE ID reserved by mitre.
- 10 Jul 2009Published in the CVE List.
- 7 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other vulnerabilities in this package
- secunia.com third-party-advisory, x_refsource_SECUNIA
- www.securityfocus.com vdb-entry, x_refsource_BID
- lists.apple.com vendor-advisory, x_refsource_APPLE
- weblog.rubyonrails.org x_refsource_CONFIRM
- www.vupen.com vdb-entry, x_refsource_VUPEN
- support.apple.com x_refsource_CONFIRM
- n8.tumblr.com x_refsource_MISC
- exchange.xforce.ibmcloud.com vdb-entry, x_refsource_XF
Patchminder. CVE-2009-2422: Authentication bypass in the rails package. https://patchminder.com/cve/cve-2009-2422/ (accessed 5 December 2026).