{"cve":"CVE-2009-2422","nvd":{"published":"2009-07-10T15:30:00.250","modified":"2026-06-16T23:09:25.100","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-287"],"references":["http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html","http://n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3s","http://secunia.com/advisories/35702","http://support.apple.com/kb/HT4077","http://weblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_http_digest"],"products":["apple:mac_os_x","apple:mac_os_x_server","rubyonrails:ruby_on_rails"],"source":"nvd","synced_at":"2026-10-19T19:54:07.895733559+00:00"},"epss":{"cve":"CVE-2009-2422","score":0.03377,"percentile":0.8877,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rxq3-gm4p-5fj4","url":"https://osv.dev/vulnerability/GHSA-rxq3-gm4p-5fj4","summary":"rails vulnerable to improper authentication","modified":"2024-02-16T08:14:01.612807Z","packages":[{"ecosystem":"RubyGems","name":"rails","purl":"pkg:gem/rails","ranges":["<2.3.3"],"fixed":["2.3.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}