cve.bz

CVE-2015-1855 Improper Input Validation

5.9 mediumEPSS 2.8%

Medium (5.9). EPSS 2.8% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
2.8% (unchanged from 2.8% a week ago; 2.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-1855 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-1855?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-1855?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-1855 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ruby-lang:rubyfrom 2.1.0 before 2.1.6
ruby-lang:rubyfrom 2.2.0 before 2.2.2
ruby-lang:ruby2.0.0
ruby-lang:ruby2.0.0:p0
ruby-lang:ruby2.0.0:p195
ruby-lang:ruby2.0.0:p247
ruby-lang:ruby2.0.0:p353
ruby-lang:ruby2.0.0:p451
ruby-lang:ruby2.0.0:p481
ruby-lang:ruby2.0.0:p576
ruby-lang:ruby2.0.0:p594
ruby-lang:ruby2.0.0:p598
ruby-lang:ruby2.0.0:p643
ruby-lang:trunkbefore 50292
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0
puppet:puppet_agent1.0.0
puppet:puppet_enterprisefrom 3.0.0 before 3.8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0ruby1.81.8.7.302-2squeeze4DLA-224-1
Debian6.0ruby1.9.11.9.2.0-2+deb6u4DLA-235-1
Debian7ruby1.81.8.7.358-7.1+deb7u3DSA-3245-1
Debian7ruby1.9.11.9.3.194-8.1+deb7u5DSA-3246-1
Debian8ruby2.12.1.5-2+deb8u1DSA-3247-1
Ubuntu14.04:LTSruby1.9.11.9.3.484-2ubuntu1.3UBUNTU-CVE-2015-1855 USN-3365-1
Ubuntu14.04:LTSruby2.02.0.0.484-1ubuntu2.4UBUNTU-CVE-2015-1855 USN-3365-1
Ubuntu16.04:LTSruby2.32.3.1-2~16.04.2USN-3365-1
SUSELifecycle Management Server 1.3, Linux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4 and 3 moreruby1.8.7.p357-0.9.19.1SUSE-SU-2017:0948-1
SUSELinux Enterprise Desktop 12 SP1, Linux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP1 and 6 moreruby2.12.1.9-15.1SUSE-SU-2017:1067-1
SUSEStudio Onsite 1.3ruby191.9.3.p392-0.23.1SUSE-SU-2015:1889-1
openSUSETumbleweedruby2.22.2.5-1.5openSUSE-SU-2024:10481-1
openSUSETumbleweedruby2.32.3.1-1.6openSUSE-SU-2024:10090-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
CloudForms Management Engine 5ruby193-rubyAffected
Red Hat Enterprise Linux 5rubyWill not fix
Red Hat Enterprise Linux 6rubyWill not fix
Red Hat Enterprise Linux 7rubyWill not fix
Red Hat OpenStack Platform 4ruby193-rubyWill not fix
Red Hat Software Collectionsrh-ruby22-rubyNot affected
Red Hat Software Collectionsruby193-rubyWill not fix
Red Hat Software Collectionsruby200-rubyWill not fix
Red Hat Subscription Asset Managerruby193-rubyAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-1855.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON