Skip to content
OpenAdvisories
Unscored Public exploit CVE-2015-1855 EUVD-2015-1964GHSA-4x8v-74xf-h4g3

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 n…

Published Nov 29, 2019 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
Ruby Ruby before 2.0.0 patchlevel 645, 2.1.x before 2.1.6, and 2.2.x before 2.2.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 8 ruby2.1 2.1.5-2+deb8u1 DSA-3247-1
Debian 7 ruby1.8 1.8.7.358-7.1+deb7u3 DSA-3245-1
Debian 7 ruby1.9.1 1.9.3.194-8.1+deb7u5 DSA-3246-1
Debian 6.0 ruby1.8 1.8.7.302-2squeeze4 DLA-224-1
Debian 6.0 ruby1.9.1 1.9.2.0-2+deb6u4 DLA-235-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS ruby2.3 2.3.1-2~16.04.2 USN-3365-1
Ubuntu 14.04 LTS ruby1.9.1 1.9.3.484-2ubuntu1.3 USN-3365-1
Ubuntu 14.04 LTS ruby2.0 2.0.0.484-1ubuntu2.4 USN-3365-1
ReleasePackageFixed inAdvisory
SLES 12 SP2 ruby2.1 2.1.9-15.1 SUSE-SU-2017:1067-1
SLES 12 SP1 ruby2.1 2.1.9-15.1 SUSE-SU-2017:1067-1
SLES 11 SP4 ruby 1.8.7.p357-0.9.19.1 SUSE-SU-2017:0948-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE WebYast 1.3 ruby 1.8.7.p357-0.9.19.1 SUSE-SU-2017:0948-1
SUSE Studio Onsite 1.3 ruby 1.8.7.p357-0.9.19.1 SUSE-SU-2017:0948-1
SUSE Studio Onsite 1.3 ruby19 1.9.3.p392-0.23.1 SUSE-SU-2015:1889-1
SLES for SAP 12 SP2 ruby2.1 2.1.9-15.1 SUSE-SU-2017:1067-1
SLES for SAP 12 SP1 ruby2.1 2.1.9-15.1 SUSE-SU-2017:1067-1
SLES for SAP 11 SP4 ruby 1.8.7.p357-0.9.19.1 SUSE-SU-2017:0948-1
SUSE Lifecycle Management Server 1.3 ruby 1.8.7.p357-0.9.19.1 SUSE-SU-2017:0948-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ruby2.2 2.2.5-1.5 openSUSE-SU-2024:10481-1
openSUSE Tumbleweed ruby2.3 2.3.1-1.6 openSUSE-SU-2024:10090-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 11

References