CVE-2017-17405
ruby2.3 - security update
8.8
HIGH
CVSS 3.1
EPSS 73.8%
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.
How to fix CVE-2017-17405
To remediate CVE-2017-17405, upgrade the affected package to a fixed version below.
- —upgrade to 2.4.3-r0 or later
Is CVE-2017-17405 being exploited?
Likely — EPSS is 73.8%, placing CVE-2017-17405 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (1)
- >= 2.2, < 2.4.3-r0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |