Snyk has a published code exploit for this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about OS Command Injection vulnerabilities in an interactive lesson.
Start learningUpgrade Ubuntu:16.04
ruby2.3
to version 2.3.1-2~16.04.4 or higher.
Note: Versions mentioned in the description apply only to the upstream ruby2.3
package and not the ruby2.3
package as distributed by Ubuntu
.
See How to fix?
for Ubuntu:16.04
relevant fixed versions and status.
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.