CVE-2009-2422
rails vulnerable to improper authentication
9.8
CRITICAL
CVSS 3.1
EPSS 0.40%
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.
How to fix CVE-2009-2422
To remediate CVE-2009-2422, upgrade the affected package to a fixed version below.
- —upgrade to 2.3.5-1 or later
- —upgrade to 2.3.3 or later
Is CVE-2009-2422 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.3.5-1
- from 0, < 2.3.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |