Vulnerabilities · 2015 · Ruby-lang
CVE-2015-1855
Ruby-lang Ruby vulnerability
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 products
Ruby, Trunk, Debian Linux, Puppet Agent, Puppet Enterprise. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/ · Vendor Advisory
- www.debian.org/security/2015/dsa-3245 · Third Party Advisory
- www.debian.org/security/2015/dsa-3246 · Third Party Advisory
- www.debian.org/security/2015/dsa-3247 · Third Party Advisory
- bugs.ruby-lang.org/issues/9644 · Third Party Advisory
- puppetlabs.com/security/cve/cve-2015-1855 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2015-1855
- cve.org/CVERecord?id=CVE-2015-1855
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.