Improper Validation of Certificate with Host Mismatch Affecting rubygems package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.08% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-RUBYGEMS-1331899
  • published26 Jul 2021
  • disclosed30 Mar 2015

Introduced: 30 Mar 2015

CVE-2015-1855  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 rubygems.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygems package and not the rubygems package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

verify_certificate_identity in the OpenSSL extension in Ruby before 2.0.0 patchlevel 645, 2.1.x before 2.1.6, and 2.2.x before 2.2.2 does not properly validate hostnames, which allows remote attackers to spoof servers via vectors related to (1) multiple wildcards, (1) wildcards in IDNA names, (3) case sensitivity, and (4) non-ASCII characters.

CVSS Scores

version 3.1