Security mailing lists by PureSourceCode

CVE-2009-2422

CRITICAL 9.8CVSS 3.1

rails vulnerable to improper authentication

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.

Published
10 Jul 2009
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-287
Also known as
GHSA-rxq3-gm4p-5fj4
Sources
NVDJSONOSV GHSA-rxq3-gm4p-5fj4JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rubyonrails ruby_on_rails
cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*
< 2.3.3 2.3.3
NVD apple mac_os_x
cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
>= 10.6.0, < 10.6.3 10.6.3
NVD apple mac_os_x
cpe:2.3:o:apple:mac_os_x:10.5.8:*:*:*:*:*:*:*
= 10.5.8
NVD apple mac_os_x_server
cpe:2.3:o:apple:mac_os_x_server:*:*:*:*:*:*:*:*
>= 10.6.0, < 10.6.3 10.6.3
NVD apple mac_os_x_server
cpe:2.3:o:apple:mac_os_x_server:10.5.8:*:*:*:*:*:*:*
= 10.5.8
OSV RubyGems rails < 2.3.3 2.3.3

References

History

  • 25 Nov 2026 20:15 UTC · NVD: first stored (published 10 Jul 2009)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.