CVE Database
/

CVE-2017-17405

Back to search

CVE-2017-17405

Published: Dec 15, 2017

Modified: Aug 5, 2024

PUBLISHED

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.

VendorProductVersions

n/a

n/a

affected
n/a

References

RHSA-2018:0585
vendor-advisory
x_refsource_REDHAT
RHSA-2018:0378
vendor-advisory
x_refsource_REDHAT
102204
vdb-entry
x_refsource_BID
1042004
vdb-entry
x_refsource_SECTRACK
43381
exploit
x_refsource_EXPLOIT-DB
RHSA-2018:0584
vendor-advisory
x_refsource_REDHAT
RHSA-2018:0583
vendor-advisory
x_refsource_REDHAT
DSA-4259
vendor-advisory
x_refsource_DEBIAN
RHSA-2019:2806
vendor-advisory
x_refsource_REDHAT

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now