lib/oauth/consumer.rb in the oauth-ruby gem through 0.5.4 for Ruby does not verify server X.509 certificates if a certificate bundle cannot be found, which allows man-in-the-middle attackers to spoof servers and obtain sensitive information.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:oauth-ruby_project:oauth-ruby:*:*:*:*:*:ruby:*:*"
],
"extracted_events": [
{
"last_affected": "0.5.4"
}
],
"vendor_product": "oauth-ruby_project:oauth-ruby",
"source": "CPE_RANGE"
}
]
}