# CVE-2018-16395: Ruby Openssl Allows Incorrect Value Comparison

Source: https://junglewise.ai/threats/cve-2018-16395-ruby-openssl-allows-incorrect-value-comparison  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-13  
License: CC BY 4.0 with a link back

CVE-2018-16395 · Severity: low · CVSS 3 · Published 2022-05-13

Ruby Openssl Allows Incorrect Value Comparison

Technologies: [openssl (RubyGems)](https://junglewise.ai/threats/technologies/rubygems-openssl). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2018-16395 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2018-16395 being exploited in the wild.

**How severe is CVE-2018-16395?** Low severity, with a CVSS score of 3, published 13 May 2022.

**Which products and versions are affected?** openssl (RubyGems) ECOSYSTEM:introduced=0,fixed=2.0.9.

**Is there a fix for CVE-2018-16395?** Yes. openssl (RubyGems): upgrade to 2.0.9 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-16395?** Check whether you run openssl (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- openssl (RubyGems): upgrade to 2.0.9 or later

  ```sh
  bundle update openssl
  ```


## Affected products

- openssl (RubyGems) ECOSYSTEM:introduced=0,fixed=2.0.9

## Identifiers

- CVE-2018-16395
- GHSA-mmrq-6999-72v8

## Related threats

- [Ruby OpenSSL DoS Vulnerability](https://junglewise.ai/threats/cve-2017-14033-ruby-openssl-dos-vulnerability)
- [OpenSSL gem for Ruby using inadequate encryption strength](https://junglewise.ai/threats/cve-2016-7798-openssl-gem-for-ruby-using-inadequate-encryption-strength)
