Input validation error in Ruby - CVE-2015-1855

 

Input validation error in Ruby - CVE-2015-1855

Published: November 29, 2019 / Updated: August 8, 2020


Vulnerability identifier: #VU35016
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2015-1855
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Ruby
Affected software:
Ruby

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

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.


How to mitigate CVE-2015-1855

Install update from vendor's website.

Sources