There are corrective versions of the Ruby 2.6.2 and 2.5.4 programming language, which eliminate six vulnerabilities in the RubyGems package management system:
- CVE-2019-8324: the ability to execute code when installing an untested package (an attacker can place the code on the gemspec and this code will be executed via a call to eval to ensure_loadable_spec at the verification stage before installation);
- CVE-2019-8320: the ability to delete directories through manipulations with symbolic links when unpacking tar files;
- CVE-2019-8321: the ability to substitute escape sequences through the handler Gem :: UserInteraction # verbose;
- CVE-2019-8322: the ability to substitute escape sequences through the command "gem owner";
- CVE-2019-8323: Ability to substitute escape sequences in the API handler (Gem :: GemcutterUtilities # with_response);
- CVE-2019-8325: The ability to substitute escape sequences through error handlers (Gem :: CommandManager # run calls alert_error without escaping characters).
In addition, an update was provided to the Rails 18.104.22.168, 22.214.171.124, 126.96.36.199, 5.2.2 framework. and 6.0.0.beta3 with the elimination of three vulnerabilities:
- CVE-2019-5420 - potentially allows you to remotely execute your code on the server, when Rails is running in Development Mode. If there is information about the attacked application, you can predict the automatically generated mode token for developers, knowledge of which allows you to achieve the execution of your code;
- CVE-2019-5418 is a vulnerability in the Action View that allows you to get the contents of arbitrary files from the server's file system by sending a specially crafted HTTP Accept header if the code in the "render file:" handler is present.
- CVE-2019-5419 - DoS-vulnerability in Action View (MODULE / COMPONENT), allowing to achieve 100% load on the CPU through manipulations with the contents of the HTTP-header Accept;