CVE-2017-17405
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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 73.82% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.4% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2017-12-15 09:00Z8 YR AGO
- Last updated
- 2024-08-05 20:51Z2 YR AGO
- Reserved
- 2017-12-05
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 95cc9d538233ae70b702aafadd7dcc75cae07241235a690e55732b110c5ffb1c
05 Affected products
06 References
- access.redhat.comRHSA-2018:0585https://access.redhat.com/errata/RHSA-2018:0585
- lists.debian.org[debian-lts-announce] 20171225 [SECURITY] [DLA 1222-1] ruby1.8 security updatehttps://lists.debian.org/debian-lts-announce/2017/12/msg00024.html
- access.redhat.comRHSA-2018:0378https://access.redhat.com/errata/RHSA-2018:0378
- www.securityfocus.com102204http://www.securityfocus.com/bid/102204
- www.securitytracker.com1042004http://www.securitytracker.com/id/1042004
- www.ruby-lang.orghttps://www.ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/
- www.exploit-db.com43381https://www.exploit-db.com/exploits/43381/
- access.redhat.comRHSA-2018:0584https://access.redhat.com/errata/RHSA-2018:0584
- www.ruby-lang.orghttps://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/
- lists.debian.org[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security updatehttps://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
- access.redhat.comRHSA-2018:0583https://access.redhat.com/errata/RHSA-2018:0583
- lists.debian.org[debian-lts-announce] 20171225 [SECURITY] [DLA 1221-1] ruby1.9.1 security updatehttps://lists.debian.org/debian-lts-announce/2017/12/msg00025.html
- www.debian.orgDSA-4259https://www.debian.org/security/2018/dsa-4259
- access.redhat.comRHSA-2019:2806https://access.redhat.com/errata/RHSA-2019:2806
07 Fixed in
Ubuntu 14.04 LTS
- ruby1.9.1 Fixed in 1.9.3.484-2ubuntu1.6
- ruby2.0 Fixed in 2.0.0.484-1ubuntu2.5
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- ruby2.3 Fixed in 2.3.1-2~16.04.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.