Name | CVE-2009-2422 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 535896 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
rails (PTS) | jessie, jessie (lts) | 2:4.1.8-1+deb8u9 | fixed |
| stretch (security), stretch (lts), stretch | 2:4.2.7.1-1+deb9u5 | fixed |
| buster (security), buster, buster (lts) | 2:5.2.2.1+dfsg-1+deb10u5 | fixed |
| bullseye (security), bullseye | 2:6.0.3.7+dfsg-2+deb11u2 | fixed |
| bookworm | 2:6.1.7.3+dfsg-2~deb12u1 | fixed |
| sid, trixie | 2:6.1.7.3+dfsg-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
rails | source | lenny | (not affected) | | | |
rails | source | (unstable) | 2.3.5-1 | | | 535896 |
Notes
[lenny] - rails <not-affected> (vulnerable code not present, introduced in 2.3.x)