CVE-2015-1855
published 2019-11-29CVE-2015-1855: 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…
PriorityP433medium5.9CVSS 3.1
AVNACHPRNUINSUCNIHAN
EPSS
2.81%
84.8th percentile
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
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| apple | os_x_el_capitan_v10.11 | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| puppet | puppet_agent | — | — |
| puppet | puppet_enterprise | >= 3.0.0 < 3.8.0 | 3.8.0 |
| ruby-lang | ruby | — | — |
| ruby-lang | ruby | >= 2.1.0 < 2.1.6 | 2.1.6 |
| ruby-lang | ruby | >= 2.2.0 < 2.2.2 | 2.2.2 |
| ruby-lang | trunk | < 50292 | 50292 |
| ruby | ruby | — | — |
| ruby | ruby | — | — |
| ruby | ruby | — | — |
CVSS provenance
nvdv3.15.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv7.3HIGH
vendor_ubuntu7.3HIGH
vendor_redhat5.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Ruby vulnerabilities
vendor_ubuntu·2017-07-25·CVSS 7.3
CVE-2009-5147 [HIGH] Ruby vulnerabilities
Title: Ruby vulnerabilities
Summary: Several security issues were fixed in Ruby.
It was discovered that Ruby DL::dlopen incorrectly handled opening
libraries. An attacker could possibly use this issue to open libraries with
tainted names. This issue only applied to Ubuntu 14.04 LTS. (CVE-2009-5147)
Tony Arcieri, Jeffrey Walton, and Steffan Ullrich discovered that the Ruby
OpenSSL extension incorrectly handled hostname wildcard matching. This
issue only applied to Ubuntu 14.04 LTS. (CVE-2015-1855)
Christian Hofstaedtler discovered that Ruby Fiddle::Handle incorrectly
handled certain crafted strings. An attacker could use this issue to cause
a denial of service, or possibly execute arbitrary code. This issue only
applied to Ubuntu 14.04 LTS. (CVE-2015-7551)
It was discovered that Ruby N
Red Hat
ruby: OpenSSL extension hostname matching implementation violates RFC 6125
vendor_redhat·2015-03-30·CVSS 5.9
CVE-2015-1855 [MEDIUM] CWE-297 ruby: OpenSSL extension hostname matching implementation violates RFC 6125
ruby: OpenSSL extension hostname matching implementation violates RFC 6125
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.
It was discovered that the Ruby OpenSSL extension was overly permissive when verifying host names against X.509 certificate names with wildcards. This could cause Ruby TLS/SSL clients to accept certain certificates as valid, which is a violation of the RFC 6125 recommendations.
Package: ruby193-ruby (CloudForms Management Engine 5.2) - Affected
Package: ruby (Red Hat Enter
Apple
CVE-2015-1855: OS X El Capitan v10.11
vendor_apple·CVSS 5.9
CVE-2015-1855 [MEDIUM] CVE-2015-1855: OS X El Capitan v10.11
Apple Security Update: About the security content of OS X El Capitan v10.11
Product: OS X El Capitan v10.11
CVE: CVE-2015-1855
Component: CVE-2015-1855
GHSA
GHSA-4x8v-74xf-h4g3: verify_certificate_identity in the OpenSSL extension in Ruby before 2
ghsa_unreviewed·2022-05-24
CVE-2015-1855 [MEDIUM] GHSA-4x8v-74xf-h4g3: verify_certificate_identity in the OpenSSL extension in Ruby before 2
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.
OSV
ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities
osv·2017-07-25·CVSS 7.3
CVE-2009-5147 [HIGH] ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities
ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities
It was discovered that Ruby DL::dlopen incorrectly handled opening
libraries. An attacker could possibly use this issue to open libraries with
tainted names. This issue only applied to Ubuntu 14.04 LTS. (CVE-2009-5147)
Tony Arcieri, Jeffrey Walton, and Steffan Ullrich discovered that the Ruby
OpenSSL extension incorrectly handled hostname wildcard matching. This
issue only applied to Ubuntu 14.04 LTS. (CVE-2015-1855)
Christian Hofstaedtler discovered that Ruby Fiddle::Handle incorrectly
handled certain crafted strings. An attacker could use this issue to cause
a denial of service, or possibly execute arbitrary code. This issue only
applied to Ubuntu 14.04 LTS. (CVE-2015-7551)
It was discovered that Ruby Net::SMTP incorrectly handled CRLF sequ
OSV
CVE-2015-1855: verify_certificate_identity in the OpenSSL extension in Ruby before 2
osv·2015-04-09·CVSS 5.9
CVE-2015-1855 [MEDIUM] CVE-2015-1855: verify_certificate_identity in the OpenSSL extension in Ruby before 2
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-1855 ruby: OpenSSL extension hostname matching implementation violates RFC 6125 [fedora-all]
bugzilla·2015-04-08·CVSS 5.9
CVE-2015-1855 [MEDIUM] CVE-2015-1855 ruby: OpenSSL extension hostname matching implementation violates RFC 6125 [fedora-all]
CVE-2015-1855 ruby: OpenSSL extension hostname matching implementation violates RFC 6125 [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multipl
Bugzilla
CVE-2015-1855 ruby: OpenSSL extension hostname matching implementation violates RFC 6125
bugzilla·2015-04-08·CVSS 4.3
CVE-2015-1855 [MEDIUM] CVE-2015-1855 ruby: OpenSSL extension hostname matching implementation violates RFC 6125
CVE-2015-1855 ruby: OpenSSL extension hostname matching implementation violates RFC 6125
Ruby OpenSSL hostname matching implementation violates RFC 6125.
- Wildcard matching code allowed multiple wildcards (e.g. *.*.*)
- Wildcards were mishandled for IDNA names (ala CVE-2014-1492)
Upstream patch:
https://github.com/ruby/openssl/commit/e9a7bcb8bf2902f907c148a00bbcf21d3fa79596
Discussion:
Created ruby tracking bugs for this issue:
Affects: fedora-all [bug 1209982]
---
Fixed upstream in Ruby versions: 2.0.0p645, 2.1.6, and 2.2.2
Upstream bug report:
https://bugs.ruby-lang.org/issues/9644
Upstream commit in ruby SVN:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50292
External References:
https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matchin
http://www.debian.org/security/2015/dsa-3245http://www.debian.org/security/2015/dsa-3246http://www.debian.org/security/2015/dsa-3247https://bugs.ruby-lang.org/issues/9644https://puppetlabs.com/security/cve/cve-2015-1855https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/http://www.debian.org/security/2015/dsa-3245http://www.debian.org/security/2015/dsa-3246http://www.debian.org/security/2015/dsa-3247https://bugs.ruby-lang.org/issues/9644https://puppetlabs.com/security/cve/cve-2015-1855https://www.ruby-lang.org/en/news/2015/04/13/ruby-openssl-hostname-matching-vulnerability/
2019-11-29
Published