CVE-2009-2422
CVE-2009-2422 is a critical-severity vulnerability in Rubyonrails Ruby On Rails with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-287.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 3% (89th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-287
- Affected product: Rubyonrails Ruby On Rails
- Published:
- Last 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.
Frequently asked questions
- What is 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.
- How severe is CVE-2009-2422?
- CVE-2009-2422 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2009-2422 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (89th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2009-2422?
- CVE-2009-2422 primarily affects Rubyonrails Ruby On Rails. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2009-2422?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2009-2422 published?
- CVE-2009-2422 was published on 2009-07-10 and last updated on 2026-06-16.
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
- http://www.securityfocus.com/bid/35579
- http://www.vupen.com/english/advisories/2009/1802
- https://exchange.xforce.ibmcloud.com/vulnerabilities/51528
Affected products (5)
- cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*
- cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
- cpe:2.3:o:apple:mac_os_x:10.5.8:*:*:*:*:*:*:*
- cpe:2.3:o:apple:mac_os_x_server:*:*:*:*:*:*:*:*
- cpe:2.3:o:apple:mac_os_x_server:10.5.8:*:*:*:*:*:*:*
More vulnerabilities in Rubyonrails Ruby On Rails
- CVE-2013-0277 — Critical (CVSS 10.0): ActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers to cause a denial of service…
- CVE-2017-17920 — High (CVSS 8.1): SQL injection vulnerability in the 'reorder' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to…
- CVE-2017-17919 — High (CVSS 8.1): SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute…
- CVE-2016-0751 — High (CVSS 7.5): actionpack/lib/action_dispatch/http/mime_type.rb in Action Pack in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x…
- CVE-2014-3482 — High (CVSS 7.5): SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb in the…
- CVE-2013-0333 — High (CVSS 7.5): lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly…
All CVEs affecting Rubyonrails Ruby On Rails →
Other CWE-287 (Improper Authentication) vulnerabilities
- CVE-2026-130778 — Critical (CVSS 10.0): Incus before 7.6.0 contains an authentication bypass vulnerability that allows remote attackers to authenticate as any…
- CVE-2026-100397 — Critical (CVSS 10.0): Rucio is a scientific data management framework. From 1.14.0 until 35.9.1, 38.6.1, 40.4.2, and 41.1.1,…
- CVE-2026-127275 — Critical (CVSS 10.0): A vulnerability was determined in Linksys EA8100 1.0.3.216940. This issue affects the function…
- CVE-2026-121933 — Critical (CVSS 10.0): A flaw has been found in Linksys E5350 1.0.00.037. This impacts the function save_settings of the file…
- CVE-2026-121615 — Critical (CVSS 10.0): A vulnerability was determined in Linksys E5600 1.1.0.26. Affected is an unknown function of the file…
- CVE-2026-84295 — Critical (CVSS 10.0): Improper authentication in Progress Software WS_FTP Server versions prior to 2024.0.6 and 2025.0.3 on Windows could…
Browse all CWE-287 (Improper Authentication) vulnerabilities →