Command Injection Vulnerabilities in ruby1.9.1

ruby1.9.1 Updated 02 Oct 2025

Summary

24/12/2017
N/A
Yes i
Unrated
Not published

DLA-1221-1: ruby1.9.1 - security update. Affects ruby1.9.1 versions < 1.9.3.194-8.1+deb7u7. Fixed in 1.9.3.194-8.1+deb7u7. 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.9.1 is an interpreter for the Ruby language. It is used to execute Ruby code and provides various functionalities for developers. The package is commonly used in Debian 7 Wheezy. However, several vulnerabilities have been discovered in this version of ruby1.9.1.

Vulnerability Detail

The identified vulnerabilities in ruby1.9.1 are as follows:

  1. CVE-2017-17405: A command injection vulnerability in Net::FTP allows a malicious FTP server to execute arbitrary commands.

  2. CVE-2017-17790: A command injection vulnerability in lib/resolv.rb's lazy_initialize function may allow a command injection attack. However, the likelihood of untrusted input to this function is rather low.

How To Fix

Minimum fixed version

1.9.3.194-8.1+deb7u7

This is the first release that contains the fix.

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

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.

Conclusion

In conclusion, ruby1.9.1 in Debian 7 Wheezy is affected by command injection vulnerabilities (CVE-2017-17405 and CVE-2017-17790). Upgrading to version 1.9.3.194-8.1+deb7u7 or later is recommended to mitigate these vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for ruby1.9.1 →

Share this vulnerability

FAQ

CVE-2017-17405 allows a malicious FTP server to execute arbitrary commands on the affected system. This can lead to unauthorized access, data manipulation, or even complete system compromise.

Exploiting CVE-2017-17790 requires untrusted input to the lib/resolv.rb's lazy_initialize function. The likelihood of such input being provided is relatively low, reducing the risk of an attack.

Yes, upgrading to version 1.9.3.194-8.1+deb7u7 or later fixes the identified vulnerabilities in ruby1.9.1.

There is no information available regarding active exploitation of these vulnerabilities at the time of this report.

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

Related vulnerabilities

Recent vulnerabilities recorded for ruby1.9.1.

How To Fix

Minimum fixed version

1.9.3.194-8.1+deb7u7

This is the first release that contains the fix.

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

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