ALPINE-CVE-2017-17405
Dashboard / Vulnerabilities / ALPINE-CVE-2017-17405
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: ruby
Purl: pkg:apk/alpine/ruby?arch=source
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 2.2
Fixed -2.4.3-r0
Affected versions
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
