Arbitrary Code Injection Affecting ruby2.3 package, versions <2.3.3-1+deb9u7


0.0
high

Snyk CVSS

    Attack Complexity High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.86% (83rd percentile)
Expand this section
NVD
8.1 high
Expand this section
SUSE
7.8 high
Expand this section
Red Hat
8.1 high

Do your applications use this vulnerable package?

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 applications
  • Snyk ID SNYK-DEBIAN9-RUBY23-534928
  • published 13 Nov 2019
  • disclosed 26 Nov 2019

How to fix?

Upgrade Debian:9 ruby2.3 to version 2.3.3-1+deb9u7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby2.3 package and not the ruby2.3 package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the "command" argument) to Shell#[] or Shell#test in lib/shell.rb is untrusted data. An attacker can exploit this to call an arbitrary Ruby method.