{"id":"GHSA-7359-3c6r-hfc2","summary":"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.","aliases":["CVE-2016-11086"],"modified":"2023-11-08T03:58:21.880410Z","published":"2021-04-22T16:22:15Z","database_specific":{"nvd_published_at":"2020-09-24T20:15:00Z","cwe_ids":["CWE-295"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-04-20T18:23:58Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2016-11086"},{"type":"WEB","url":"https://github.com/oauth-xx/oauth-ruby/issues/137"},{"type":"WEB","url":"https://github.com/oauth-xx/oauth-ruby/commit/eb5b00a91d4ef0899082fdba929c34ccad6d4ccb"},{"type":"PACKAGE","url":"https://github.com/oauth-xx/oauth-ruby"},{"type":"WEB","url":"https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.5"},{"type":"WEB","url":"https://rubygems.org/gems/oauth"}],"affected":[{"package":{"name":"oauth","ecosystem":"RubyGems","purl":"pkg:gem/oauth"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.5"}]}],"versions":["0.1.1","0.2.0","0.2.1","0.2.2","0.2.4","0.2.6","0.2.7","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.3.6","0.3.7.pre1","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.4.7","0.5.0","0.5.1","0.5.2","0.5.3","0.5.4"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-7359-3c6r-hfc2/GHSA-7359-3c6r-hfc2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}