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: 8.2 [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]
CVE-ID: CVE-2015-1855
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Ruby
Amazon Linux AMI
Fedora
ruby

How to mitigate CVE-2015-1855

Install update from vendor's website.

Ruby - update to 2.2.2
ruby - addressed in versions 2.1.6-27.fc21, 2.2.2-11.fc22

External References

Related Security Bulletins