CVE-2015-1855Ruby-lang Ruby
Medium 5.9 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Ruby We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | ruby | ≥ 2.1.0 < 2.1.6 |
| ruby-lang | ruby | ≥ 2.2.0 < 2.2.2 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | trunk | < 50292 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| puppet | puppet_agent | 1.0.0 |
| puppet | puppet_enterprise | ≥ 3.0.0 < 3.8.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- www.debian.org Third Party Advisory
- bugs.ruby-lang.org Third Party Advisory
- puppetlabs.com Third Party Advisory
- www.ruby-lang.org Vendor Advisory