{"id":"CVE-2016-11086","aliases":["DEBIAN-CVE-2016-11086","EUVD-2021-0781","GHSA-7359-3c6r-hfc2","UBUNTU-CVE-2016-11086"],"status":"published","title":"Improper Certificate Validation in oauth ruby gem","description":"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.","severity":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00862,"percentile":0.58795,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295"],"published":"2020-09-24T19:34:18Z","modified":"2026-10-20T10:47:26Z","fixes":[{"ecosystem":"RubyGems","package":"oauth","fixed_in":["0.5.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.5"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"ruby-oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-1.1","0.5.6-1","1.1.7-1","1.1.8-1"]},{"source":"osv","ecosystem":"Debian:13","package":"ruby-oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-1.1","0.5.6-1","1.1.7-1","1.1.8-1"]},{"source":"osv","ecosystem":"Debian:14","package":"ruby-oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-1.1","0.5.6-1","1.1.7-1","1.1.8-1"]},{"source":"osv","ecosystem":"RubyGems","package":"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"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"ruby-oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.7-3"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"ruby-oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.3-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"ruby-oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"ruby-oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-1.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"ruby-oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-1.1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"ruby-oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-1.1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"ruby-oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-1.1","1.1.7-1","1.1.8-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"ruby-oauth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.5.4-1.1"]}],"products":[{"vendor":"oauth-ruby_project","product":"oauth-ruby"}],"references":[{"url":"https://github.com/oauth-xx/oauth-ruby/issues/137","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-11086","tags":["advisory"]},{"url":"https://github.com/oauth-xx/oauth-ruby/commit/eb5b00a91d4ef0899082fdba929c34ccad6d4ccb","tags":["web"]},{"url":"https://github.com/oauth-xx/oauth-ruby/releases/tag/v0.5.5","tags":["web"]},{"url":"https://rubygems.org/gems/oauth","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7359-3c6r-hfc2"},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-11086","tags":["advisory"]},{"url":"https://github.com/oauth-xx/oauth-ruby","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2016-11086","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-11086","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-11086","description":"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.","status":"published","published":"2020-09-24T19:34:18Z","modified":"2024-08-06T03:47:34.735Z","updated_at":"2026-11-02T14:33:36.175943Z"}],"euvd":[{"id":"EUVD-2021-0781","description":"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.","status":"published","published":"2020-09-24T19:34:18Z","modified":"2024-08-06T03:47:34Z","updated_at":"2026-11-03T02:22:21.756675Z"}],"ghsa":[{"id":"GHSA-7359-3c6r-hfc2","title":"Improper Certificate Validation in oauth ruby gem","description":"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.","status":"published","published":"2021-04-22T16:22:15Z","modified":"2023-01-24T14:59:50Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:36:14.033357Z"}],"nvd":[{"id":"CVE-2016-11086","description":"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.","status":"published","published":"2020-09-24T20:15:12.257Z","modified":"2026-06-17T00:40:58.267Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:03:40.524348Z"}],"osv":[{"id":"CVE-2016-11086","description":"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.","status":"published","published":"2020-09-24T20:15:12.257Z","modified":"2026-10-20T10:47:26.005077438Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:01.531338Z"},{"id":"DEBIAN-CVE-2016-11086","description":"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.","status":"published","published":"2020-09-24T20:15:12.257Z","modified":"2026-09-22T07:01:11.202149281Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:27.323751Z"},{"id":"GHSA-7359-3c6r-hfc2","title":"Improper Certificate Validation in oauth ruby gem","description":"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.","status":"published","published":"2021-04-22T16:22:15Z","modified":"2023-11-08T03:58:21.88041Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:46:40.308826Z"},{"id":"UBUNTU-CVE-2016-11086","description":"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.","status":"published","published":"2020-09-24T20:15:00Z","modified":"2026-10-17T12:52:32.658179202Z","cvss":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:11.492576Z"}]}}
