Vulnerability in ruby1.8 - Buffer underrun and escape sequence injection

ruby1.8 Updated 02 Oct 2025

Summary

26/09/2017
N/A
Yes i
Unrated
Not published

DLA-1113-1: ruby1.8 - security update. Affects ruby1.8 versions < 1.8.7.358-7.1+deb7u4. Fixed in 1.8.7.358-7.1+deb7u4. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

ruby1.8 is a package in the Debian 7 Wheezy LTS distribution. It is an implementation of the Ruby programming language version 1.8. This package is widely used for developing and running Ruby applications. However, it has been found to have vulnerabilities that could be exploited by attackers.

Vulnerability Detail

The first vulnerability, identified as CVE-2017-0898, is a buffer underrun vulnerability in the Kernel.sprintf function. This vulnerability could allow an attacker to overwrite memory beyond the intended buffer, potentially leading to arbitrary code execution or a denial of service.

The second vulnerability, identified as CVE-2017-10784, is an escape sequence injection vulnerability in the Basic authentication of WEBrick. An attacker could inject escape sequences in the authentication process, leading to potential security bypass or injection attacks.

How To Fix

Minimum fixed version

1.8.7.358-7.1+deb7u4

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 are no specific workarounds mentioned for these vulnerabilities. The recommended approach is to apply the security update as soon as possible.

Conclusion

In conclusion, the ruby1.8 package in Debian 7 Wheezy LTS has been found to have two vulnerabilities: a buffer underrun vulnerability in Kernel.sprintf and an escape sequence injection vulnerability in the Basic authentication of WEBrick. To mitigate these vulnerabilities, it is recommended to upgrade to version 1.8.7.358-7.1+deb7u4. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for ruby1.8 →

Share this vulnerability

FAQ

The buffer underrun vulnerability in Kernel.sprintf could allow an attacker to overwrite memory beyond the intended buffer. This could potentially lead to arbitrary code execution or a denial of service.

An attacker can exploit the escape sequence injection vulnerability in the Basic authentication of WEBrick by injecting escape sequences during the authentication process. This could lead to security bypass or injection attacks.

There are no known public exploits for these vulnerabilities at the time of this advisory. However, it is important to apply the security update to protect against potential attacks.

The vulnerabilities affect ruby1.8 versions prior to 1.8.7.358-7.1+deb7u4. It is recommended to upgrade to the fixed version to mitigate the vulnerabilities.

You can find more information about Debian LTS security advisories, including how to apply updates and frequently asked questions, on the Debian LTS wiki: https://wiki.debian.org/LTS

Related vulnerabilities

Recent vulnerabilities recorded for ruby1.8.

How To Fix

Minimum fixed version

1.8.7.358-7.1+deb7u4

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