CVE-2017-17405
ruby2.3 - security update
8.8
HIGH
CVSS 3.1
EPSS 88.6%
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
- —upgrade to 1.8.7.358-7.1+deb7u5 or later
- —upgrade to 1.9.3.194-8.1+deb7u7 or later
- —upgrade to 2.3.3-1+deb9u3 or later
Is CVE-2017-17405 being exploited?
Likely — EPSS is 88.6%, placing CVE-2017-17405 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (4)
- from 0, < 2.4.3-r0
- from 0, < 1.8.7.358-7.1+deb7u5
- from 0, < 1.9.3.194-8.1+deb7u7
- from 0, < 2.3.3-1+deb9u3
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 |