Live threats

All CVEs / Ruby-lang

CVE-2015-1855Ruby-lang Ruby

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
2.8%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Nov 29, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby≥ 2.1.0 < 2.1.6
ruby-langruby≥ 2.2.0 < 2.2.2
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langtrunk< 50292
debiandebian_linux7.0
debiandebian_linux8.0
debiandebian_linux9.0
puppetpuppet_agent1.0.0
puppetpuppet_enterprise≥ 3.0.0 < 3.8.0

Official sources

References

Links published by the sources. Open them with care.