UBUNTU-CVE-2017-17405

    Dashboard / Vulnerabilities / UBUNTU-CVE-2017-17405

    UBUNTU-CVE-2017-17405

    Published: 15 Dec 2017Last Modified: 22 Apr 2026
    Upstream:
    Aliases:

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: ruby1.9.1

    Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=trusty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.9.3.484-2ubuntu1.6

    Affected versions

    1.9.3.194-8.1ubuntu2
    1.9.3.448-1ubuntu1
    1.9.3.448-1ubuntu2
    1.9.3.484-1ubuntu1
    1.9.3.484-1ubuntu2
    1.9.3.484-2ubuntu1
    1.9.3.484-2ubuntu1.1
    1.9.3.484-2ubuntu1.2
    1.9.3.484-2ubuntu1.3
    1.9.3.484-2ubuntu1.5

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High