Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2017-17405
ruby-lang ruby

Score8.8 High
CVSS 3.0
Exploit probability (EPSS)73.8%
within the next 30 days
CategoryCode execution & injection
Published15 December 2017
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, if a user clicks a link, opens a file or similar.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: OS command injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Ruby before 2.4.3 allows Net::FTP command injection. Net::FTP#get, getbinaryfile, gettextfile, put, putbinaryfile, and puttextfile use Kernel#open to open a local file. If the localfile argument starts with the "|" pipe character, the command following the pipe character is executed. The default value of localfile is File.basename(remotefile), so malicious FTP servers could cause arbitrary command execution.

CVSS: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Weakness: CWE-78 – OS command injection

Affected products

VendorProductVersions
ruby-langruby>=2.2 <=2.2.8
ruby-langruby>=2.3 <=2.3.5
ruby-langruby>=2.4 <=2.4.2
ruby-langruby2.5.0
debiandebian linux7.0
debiandebian linux8.0
debiandebian linux9.0
redhatenterprise linux desktop7.0
redhatenterprise linux server7.0
redhatenterprise linux server aus7.4
redhatenterprise linux server aus7.6
redhatenterprise linux server eus7.4
redhatenterprise linux server eus7.5
redhatenterprise linux server eus7.6
redhatenterprise linux server tus7.4
redhatenterprise linux server tus7.6
redhatenterprise linux workstation7.0

Sources

Latest in the same category

  • CVE-2026-138428 Low 2
    A security flaw has been discovered in SourceCodester Real Estate Property Listing App 1.0. This issue affects some unknown processing of the file /index.php. Performing a manipulation of the argument property['title']…
    Code execution & injection · 30 November 2026
  • CVE-2026-56481 Low 3.5
    HCL Telco Observability is affected by an Improper Input Validation vulnerability in its UI and API, which could allow a remote attacker to submit crafted field values, enabling the injection of malicious input, query…
    Code execution & injection · 30 November 2026
  • CVE-2026-138423 Low 2
    A flaw has been found in youseries UReport up to 2.2.9. Affected is the function convertJson of the file ureport2-console/src/main/java/com/bstek/ureport/console/html/HtmlPreviewServletAction.java of the component Html…
    Code execution & injection · 30 November 2026
  • CVE-2026-138422 Low 2
    A vulnerability was detected in youseries UReport up to 2.2.9. This impacts an unknown function of the file html-preview.html of the component HTML Preview. Performing a manipulation of the argument _u results in HTML…
    Code execution & injection · 30 November 2026
  • CVE-2026-138421 Low 2
    A security vulnerability has been detected in youseries UReport up to 2.2.9. This affects the function saveReportFile of the file…
    Code execution & injection · 30 November 2026
  • CVE-2026-138420 Low 2
    A weakness has been identified in youseries UReport up to 2.2.9. The impacted element is the function buildExceptionMessage of the file…
    Code execution & injection · 30 November 2026