Vulnerability in Ruby OpenSSL Extension

ruby1.8 Updated 02 Oct 2025

Summary

02/05/2015
N/A
Yes i
Unrated
Not published

DSA-3245-1: ruby1.8 - security update. Affects ruby1.8 versions < 1.8.7.358-7.1+deb7u3. Fixed in 1.8.7.358-7.1+deb7u3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Ruby programming language is widely used for developing web applications and scripts. Ruby1.8 is a specific version of Ruby that is part of the Debian 7 (wheezy) distribution. It includes the OpenSSL extension, which allows Ruby programs to interact with SSL/TLS protocols for secure communication. However, a security flaw has been discovered in the Ruby OpenSSL extension that affects the hostname matching functionality.

Vulnerability Detail

The Ruby OpenSSL extension in Ruby1.8 does not properly implement hostname matching according to RFC 6125. This vulnerability could be exploited by remote attackers to perform man-in-the-middle attacks using specially crafted SSL certificates. By exploiting this flaw, an attacker could intercept and modify SSL/TLS communications between a Ruby1.8 application and its intended server, potentially leading to unauthorized access, data leakage, or other malicious activities.

How To Fix

Minimum fixed version

1.8.7.358-7.1+deb7u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ruby1.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is necessary to apply the security update to the ruby1.8 package to mitigate the risk.

Conclusion

The vulnerability in the Ruby OpenSSL extension of Ruby1.8 can be mitigated by updating the ruby1.8 package to the patched version. It is crucial to apply this security update to protect against potential man-in-the-middle attacks and ensure the integrity and confidentiality of SSL/TLS communications. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ruby1.8 →

Share this vulnerability

FAQ

The vulnerability allows remote attackers to perform man-in-the-middle attacks on Ruby1.8 applications using crafted SSL certificates. This can lead to unauthorized access, data manipulation, or interception of sensitive information.

If your application uses the Ruby1.8 interpreter and interacts with SSL/TLS protocols, it may be affected by this vulnerability. It is recommended to check the version of the ruby1.8 package and apply the security update if necessary.

Yes, remote attackers can exploit this vulnerability by intercepting SSL/TLS communications between a Ruby1.8 application and its intended server. This can be done by presenting a specially crafted SSL certificate during the SSL/TLS handshake.

There are no known instances of this vulnerability being actively exploited in the wild. However, it is still important to apply the security update to protect against potential future attacks.

You can find more information about this vulnerability in the Debian Security Advisory DSA-3245-1. Additionally, you can refer to the CVE-2015-1855 identifier for further details.

Related vulnerabilities

Recent vulnerabilities recorded for ruby1.8.

How To Fix

Minimum fixed version

1.8.7.358-7.1+deb7u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ruby1.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback