Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2017-17405 →
Unrated

Ruby before 2.4.3 allows Net::FTP command injection. Net::FTP#get, getbinaryfile, gettextfile, put, putbinaryfile, and puttextfile use Kernel#open to...

UBUNTU-CVE-2017-17405 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:14.04:LTSruby1.9.1
< 1.9.3.484-2ubuntu1.6→ 1.9.3.484-2ubuntu1.6
Ubuntu:14.04:LTSruby2.0
< 2.0.0.484-1ubuntu2.5→ 2.0.0.484-1ubuntu2.5
Ubuntu:16.04:LTSruby2.3
< 2.3.1-2~16.04.4→ 2.3.1-2~16.04.4
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details