CVE-2015-1855
MEDIUM 5.9CVSS 3.1verify_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.
- Published
- 29 Nov 2019
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
>= 2.1.0, < 2.1.6 | 2.1.6 |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* |
>= 2.2.0, < 2.2.2 | 2.2.2 |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:-:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:p0:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:p195:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:p247:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:p353:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:p451:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:p481:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:p576:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:p594:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:p598:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:p643:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | trunkcpe:2.3:a:ruby-lang:trunk:*:*:*:*:*:*:*:* |
< 50292 | 50292 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | puppet | puppet_agentcpe:2.3:a:puppet:puppet_agent:1.0.0:*:*:*:*:*:*:* |
= 1.0.0 | |
| NVD | puppet | puppet_enterprisecpe:2.3:a:puppet:puppet_enterprise:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.8.0 | 3.8.0 |
References
- http://www.debian.org/security/2015/dsa-3245 · Third Party Advisory
- http://www.debian.org/security/2015/dsa-3246 · Third Party Advisory
- http://www.debian.org/security/2015/dsa-3247 · Third Party Advisory
- https://bugs.ruby-lang.org/issues/9644 · Third Party Advisory
- https://puppetlabs.com/security/cve/cve-2015-1855 · Third Party Advisory
- https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/ · Vendor Advisory
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 29 Nov 2019)