VDB

GCVE-110-MAGEIA-2017-486

GCVE-110-MAGEIA-2017-486
Advisory Published
Vulnetix · Advisory published December 31, 2017
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 (CVE-2017-17405). The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injection attacks, as demonstrated by a Resolv::Hosts::new argument beginning with a '|' character (CVE-2017-17790).

Affected Products

VendorProductVersionsPlatforms
Mageiaruby0 (affected), 2.0.0.p648-1.6.mga5 (unaffected)
Mageiaruby0 (affected), 2.2.8-1.1.mga6 (unaffected)

Browse GCVE Records

72,409 records in the GCVE database · Updated July 14, 2026

No matching records found.

Explore Further

Investigate this vulnerability in the interactive console or download the raw GCVE record.

$ Console Community · 100/wk Open console ›