Command Injection Vulnerabilities in ruby1.8

ruby1.8 Updated 02 Oct 2025

Summary

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

DLA-1222-1: ruby1.8 - security update. Affects ruby1.8 versions < 1.8.7.358-7.1+deb7u5. Fixed in 1.8.7.358-7.1+deb7u5. 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 an interpreter for the Ruby language. It is used to execute Ruby code and provides various functionalities for developers. This vulnerability affects version 1.8.7.358-7.1+deb7u5 of the package in Debian 7 Wheezy.

Vulnerability Detail

Two command injection vulnerabilities have been discovered in ruby1.8:

  1. CVE-2017-17405: This vulnerability exists in the Net::FTP module and allows a malicious FTP server to execute arbitrary commands on the system.

  2. CVE-2017-17790: This vulnerability exists in the lib/resolv.rb's lazy_initialize function and allows for a command injection attack. However, the likelihood of untrusted input reaching this function is low.

How To Fix

Minimum fixed version

1.8.7.358-7.1+deb7u5

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 →

Conclusion

Two command injection vulnerabilities have been discovered in ruby1.8. It is crucial to upgrade to version 1.8.7.358-7.1+deb7u5 or later to mitigate the risks associated with these vulnerabilities. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for ruby1.8 →

Share this vulnerability

FAQ

ruby1.8 is an interpreter for the Ruby language, used to execute Ruby code.

CVE-2017-17405 allows a malicious FTP server to execute arbitrary commands on the system.

CVE-2017-17790 allows for a command injection attack, but the likelihood of untrusted input reaching the vulnerable function is low.

You can upgrade your ruby1.8 package by following the standard package upgrade process for your operating system.

No specific workaround has been provided for these vulnerabilities. It is recommended to upgrade to the fixed version.

Related vulnerabilities

Recent vulnerabilities recorded for ruby1.8.

How To Fix

Minimum fixed version

1.8.7.358-7.1+deb7u5

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