7.4high

CVE-2016-11086

Improper Certificate Validation in oauth ruby gem

Also known as GHSA-7359-3c6r-hfc2

Published 6 y ago · modified 4 mo ago · JSON

CVSS
7.4
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
0.9%
percentile 59%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

0.86% probability of exploitation in the next 30 days, higher than 59% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.17.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD2.05.8AV:N/AC:M/Au:N/C:P/I:P/A:N
GitHub3.17.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected packages

EcosystemPackageAffectedFixed in
rubygemsoauth
<0.5.5
0.5.5

Classification

Weakness
  • CWE-295 Improper Certificate Validation

References

  • github.com /oauth-xx/oauth-ruby/issues/137 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2016-11086 · advisory
  • github.com /oauth-xx/oauth-ruby/commit/eb5b00a91d4ef0899082fdba929c34ccad6d4ccb · web
  • github.com /oauth-xx/oauth-ruby · package
  • github.com /oauth-xx/oauth-ruby/releases/tag/v0.5.5 · web
  • rubygems.org /gems/oauth · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.