ADVISORIES

GitHub Advisory Database

GHSA-7359-3c6r-hfc2

Improper Certificate Validation in oauth ruby gem

Details

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.

Affected packages

EcosystemPackageAffected versions
RubyGemsoauth
All versions before 0.5.5 (fixed in 0.5.5)

References