CVE-2016-11086 json
Improper Certificate Validation in oauth ruby gem
published 2020-09-24 6 y ago modified 2026-06-17 4 mo ago also GHSA-7359-3c6r-hfc2 , EUVD-2021-0781
- cvss
- 7.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- 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.
Patch / fix
- rubygems oauth 0.5.5
Exploit prediction
0.86% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/oauth-xx/oauth-ruby/issues/137 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| GitHub | 3.1 | 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | oauth | <0.5.5 |
0.5.5 |
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
github.com
/oauth-xx/oauth-ruby/commit/eb5b00a91d4ef0899082fdba929c34ccad6d4ccb
web
-
github.com
/oauth-xx/oauth-ruby/issues/137
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2016-11086
advisory
-
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
- CVE List CVE-2016-11086
- GitHub Advisory GHSA-7359-3c6r-hfc2
- NVD CVE-2016-11086
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.