SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2017-17405

Ruby before 2.4.3 allows Net::FTP command injection.

HIGH 8.8EPSS 73.8%

Does this matter?

EPSS puts the probability of exploitation in the next 30 days at 73.8%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.

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.

CVSS 3.0
8.8 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
73.83% probability · 99th percentile
CISA KEV
Not listed
Weakness
CWE-78
Affected
ruby-lang/ruby · debian/debian linux · redhat/enterprise linux desktop · redhat/enterprise linux server · redhat/enterprise linux server aus · redhat/enterprise linux server eus · redhat/enterprise linux server tus · redhat/enterprise linux workstation
Source
cve@mitre.org

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.