CVE-2017-17405
HIGH8.8EPSS 88.6%ruby2.3 - security update
發布日:2017/12/24修改日:2026/3/9
描述
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.
受影響套件(4)
- Alpine/rubyfrom 0, < 2.4.3-r0
- Debian/ruby1.8from 0, < 1.8.7.358-7.1+deb7u5
- Debian/ruby1.9.1from 0, < 1.9.3.194-8.1+deb7u7
- Debian/ruby2.3from 0, < 2.3.3-1+deb9u3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |