USN-3515-1: Ruby vulnerability

04 January 2018

Ruby could be made to execute arbitrary commands if opened a specially crafted file.



  • ruby1.9.1 - Object-oriented scripting language
  • ruby2.0 - Object-oriented scripting language
  • ruby2.3 - Interpreter of object-oriented scripting language Ruby


It was discovered that Ruby allows FTP command injection.
An attacker could use this to cause arbitrary command execution.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 17.10
Ubuntu 17.04
Ubuntu 16.04
Ubuntu 14.04

In general, a standard system update will make all the necessary changes.