原始 OSV JSON{
"id": "GHSA-rxq3-gm4p-5fj4",
"aliases": [
"CVE-2009-2422"
],
"details": "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.",
"summary": "rails vulnerable to improper authentication",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.3"
}
]
}
],
"package": {
"name": "rails",
"ecosystem": "RubyGems"
}
}
],
"modified": "2024-02-14T21:33:07Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2017-10-24T18:33:38Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2009-2422",
"type": "ADVISORY"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/51528",
"type": "WEB"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2009-2422.yml",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20090711160153/http://secunia.com/advisories/35702",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20200229192617/http://www.securityfocus.com/bid/35579",
"type": "WEB"
},
{
"url": "http://lists.apple.com/archives/security-announce/2010//Mar/msg00001.html",
"type": "WEB"
},
{
"url": "http://n8.tumblr.com/post/117477059/security-hole-found-in-rails-2-3s",
"type": "WEB"
},
{
"url": "http://support.apple.com/kb/HT4077",
"type": "WEB"
},
{
"url": "http://weblog.rubyonrails.org/2009/6/3/security-problem-with-authenticate_with_http_digest",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-287"
],
"severity": "CRITICAL",
"github_reviewed": true,
"nvd_published_at": "2009-07-10T15:30:00Z",
"github_reviewed_at": "2020-06-16T21:56:22Z"
}
}