ALPINE-CVE-2017-17405

Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 15 Dec 2017, 09:29
Last modified:03 Dec 2025, 22:33

Vulnerability Summary

Overall Risk (default)
medium
35/100
CVSS Score
8.8 HIGH
3.0 (osv_alpine)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

15 Dec 2017, 09:29
Published
Vulnerability first disclosed
03 Dec 2025, 22:33
Last Modified
Vulnerability information updated

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 Metrics

  • v3.0HIGHScore: 8.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected Systems

  • alpineruby

    < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.2.9-r0 | < 2.3.6-r0 | < 2.3.6-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0 | < 2.4.3-r0

References (1)