CVE-2009-2422
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.
Key facts
- CVSS score
- 9.8 (v3.1)
- Severity
- CRITICAL
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
- CWE-287
- EPSS score
- 3.4% (89th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2017-0307)
- Published
- July 10, 2009
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2017-0307 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- apple / mac os x
- apple / mac os x
- apple / mac os x server
- apple / mac os x server
- rubyonrails / ruby on rails
Certified products that may be affected
1 FIPS 140 or Common Criteria certified product, from automated matching by sec-certs.org.
- Apple Mac OS X 10.6 - Apple Inc. - Common Criteria BSI-DSZ-CC-0536-2010 - archived
References
- http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html(Mailing List)
- http://n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3s(Exploit, Patch)
- http://secunia.com/advisories/35702(Broken Link, Vendor Advisory)
- http://support.apple.com/kb/HT4077(Third Party Advisory)
- http://weblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_http_digest(Patch)
- http://www.securityfocus.com/bid/35579(Broken Link, Patch, Third Party Advisory, VDB Entry)
- http://www.vupen.com/english/advisories/2009/1802(Broken Link, Patch, Vendor Advisory)
- https://exchange.xforce.ibmcloud.com/vulnerabilities/51528(Third Party Advisory, VDB Entry)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain