CVE-2015-1855
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.
Severity
MEDIUM
CVSS v3
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N · source nvd
Exploit chance (EPSS)
2.815%
chance of exploitation in the next 30 days
higher than 86.8% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-20: Improper Input Validation
Timeline
- 2019-11-29Published by the CNA20:46 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| ruby-lang ruby | from 2.1.0 before 2.1.6fixed in 2.1.6from 2.2.0 before 2.2.2fixed in 2.2.22.0.0no fix listed | 2.1.62.2.2not listed |
| debian debian_linux | 7.0no fix listed8.0no fix listed9.0no fix listed | not listednot listednot listed |
| puppet puppet_agent | 1.0.0no fix listed | not listed |
| puppet puppet_enterprise | from 3.0.0 before 3.8.0fixed in 3.8.0 | 3.8.0 |
| ruby-lang trunk | before 50292fixed in 50292 | 50292 |
References
- https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/
- http://www.debian.org/security/2015/dsa-3245
- http://www.debian.org/security/2015/dsa-3246
- http://www.debian.org/security/2015/dsa-3247
- https://bugs.ruby-lang.org/issues/9644
- https://puppetlabs.com/security/cve/cve-2015-1855
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2015-1855'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2015-1855'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2015-1855'curl 'https://api.contrastcyber.com/cve_products/CVE-2015-1855'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).