Home / Rubyonrails / Ruby On Rails / CVE-2009-2422
CVE-2009-2422: is it exploited, and which versions of Rubyonrails Ruby On Rails are affected and fixed?
CVE-2009-2422 is an authentication bypass (improper authentication) vulnerability in Rubyonrails Ruby On Rails. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: rails before 2.3.3 (GitHub advisory GHSA-rxq3-gm4p-5fj4). Fixed in 2.3.3 (GitHub advisory GHSA-rxq3-gm4p-5fj4). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:51 UTC.
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.
From the CVE record by mitre, last updated August 7, 2024, 05:52 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | rails | < 2.3.3 | 2.3.3 | GHSA-rxq3-gm4p-5fj4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 14, 2024. Summary: rails vulnerable to improper authentication.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rubyonrails | ruby on rails | before 2.3.3 | application |
| apple | mac os x | from 10.6.0 before 10.6.3 | operating system |
| apple | mac os x | 10.5.8 | operating system |
| apple | mac os x server | from 10.6.0 before 10.6.3 | operating system |
| apple | mac os x server | 10.5.8 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 23:09 UTC.
How severe is CVE-2009-2422?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2009-2422 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 3.38% probability of exploitation activity in the next 30 days, percentile 89.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-287 Improper Authentication
Where are the vendor advisories and references?
- 35702 third-party-advisory, x_refsource_SECUNIA
- 35579 vdb-entry, x_refsource_BID
- APPLE-SA-2010-03-29-1 vendor-advisory, x_refsource_APPLE
- http://weblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_http_digest x_refsource_CONFIRM
- ADV-2009-1802 vdb-entry, x_refsource_VUPEN
- http://support.apple.com/kb/HT4077 x_refsource_CONFIRM
- http://n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3s x_refsource_MISC
- rubyonrails-validatedigest-sec-bypass(51528) vdb-entry, x_refsource_XF
When was it published, and where is the official record?
- Reserved
- July 10, 2009
- Published
- July 10, 2009, 15:00 UTC
- CVE record updated
- August 7, 2024, 05:52 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 23:09 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:51 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ruby On Rails?
- Dec 29, 2017CVE-2017-17920 Rubyonrails Ruby On Rails: SQL injection disputed
- Dec 29, 2017CVE-2017-17919 Rubyonrails Ruby On Rails: SQL injection disputed
- Apr 7, 2016CVE-2016-2098 Debian Linux: improper input validation
- Apr 7, 2016CVE-2016-2097 Rubyonrails Rails: path traversal (reading or writing files outside the intended folder)
- Feb 16, 2016CVE-2016-0751 Rubyonrails Rails: n/a
- Feb 16, 2016CVE-2015-7577 Rubyonrails Rails: improper access control
- Feb 16, 2016CVE-2015-7576 Rubyonrails Rails: n/a
- Jul 26, 2015CVE-2015-3226 Rubyonrails Rails: cross-site scripting (XSS)
Questions about CVE-2009-2422
Is CVE-2009-2422 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 3.38% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rubyonrails Ruby On Rails are affected by CVE-2009-2422?
rails before 2.3.3, per the GitHub advisory GHSA-rxq3-gm4p-5fj4. The tables above give every range the sources list.
Which version fixes CVE-2009-2422?
2.3.3, per the GitHub advisory GHSA-rxq3-gm4p-5fj4. Check the vendor's advisory before you rely on it.
How severe is CVE-2009-2422?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2009-2422?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.