Upstream information

CVE-2019-16255 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Running

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 8.1 7.8
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Access Vector Network Local
Access Complexity High Low
Privileges Required None None
User Interaction None Required
Scope Unchanged Unchanged
Confidentiality Impact High High
Integrity Impact High High
Availability Impact High High
CVSSv3 Version 3.1 3
SUSE Bugzilla entry: 1152990 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
HPE Helion Openstack 8
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
Patchnames:
HPE-Helion-OpenStack-8-2020-1570
Image SLES15-EC2-CHOST-HVM-BYOS
Image SLES15-SP1-CHOST-BYOS-Azure
Image SLES15-SP1-CHOST-BYOS-EC2
Image SLES15-SP1-CHOST-BYOS-GCE
Image SLES15-SP2-CHOST-BYOS-Aliyun
Image SLES15-SP2-CHOST-BYOS-Azure
Image SLES15-SP2-CHOST-BYOS-EC2
Image SLES15-SP2-CHOST-BYOS-GCE
Image SLES15-SP2-CHOST-BYOS-OpenStack
Image SLES15-SP3-CHOST-BYOS-Aliyun
Image SLES15-SP3-CHOST-BYOS-Azure
Image SLES15-SP3-CHOST-BYOS-EC2
Image SLES15-SP3-CHOST-BYOS-GCE
  • libruby2_5-2_5 >= 2.5.7-4.8.1
  • ruby2.5 >= 2.5.7-4.8.1
  • ruby2.5-stdlib >= 2.5.7-4.8.1
SUSE Enterprise Storage 5
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
Patchnames:
SUSE-Storage-5-2020-1570
SUSE Linux Enterprise High Performance Computing 15-ESPOS
SUSE Linux Enterprise High Performance Computing 15-LTSS
  • libruby2_5-2_5 >= 2.5.7-4.8.1
  • ruby2.5 >= 2.5.7-4.8.1
  • ruby2.5-devel >= 2.5.7-4.8.1
  • ruby2.5-devel-extra >= 2.5.7-4.8.1
  • ruby2.5-stdlib >= 2.5.7-4.8.1
Patchnames:
SUSE-SLE-Product-HPC-15-2020-737
SUSE Linux Enterprise Module for Basesystem 15 SP1
  • libruby2_5-2_5 >= 2.5.7-4.8.1
  • ruby2.5 >= 2.5.7-4.8.1
  • ruby2.5-devel >= 2.5.7-4.8.1
  • ruby2.5-devel-extra >= 2.5.7-4.8.1
  • ruby2.5-stdlib >= 2.5.7-4.8.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP1-2020-737
SUSE Linux Enterprise Module for Basesystem 15 SP2
  • libruby2_5-2_5 >= 2.5.8-4.11.1
  • ruby2.5 >= 2.5.8-4.11.1
  • ruby2.5-devel >= 2.5.8-4.11.1
  • ruby2.5-devel-extra >= 2.5.8-4.11.1
  • ruby2.5-stdlib >= 2.5.8-4.11.1
SUSE Linux Enterprise Module for Basesystem 15 SP3
  • libruby2_5-2_5 >= 2.5.9-4.17.1
  • ruby2.5 >= 2.5.9-4.17.1
  • ruby2.5-devel >= 2.5.9-4.17.1
  • ruby2.5-devel-extra >= 2.5.9-4.17.1
  • ruby2.5-stdlib >= 2.5.9-4.17.1
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP1
  • ruby2.5-doc >= 2.5.7-4.8.1
  • ruby2.5-doc-ri >= 2.5.7-4.8.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2020-737
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
  • yast2-ruby-bindings >= 3.1.53-9.8.1
Patchnames:
SUSE-SLE-POS-12-SP2-CLIENT-2020-1570
SUSE Linux Enterprise Server 12 SP2-BCL
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
  • yast2-ruby-bindings >= 3.1.53-9.8.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-BCL-2020-1570
SUSE Linux Enterprise Server 12 SP2-ESPOS
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
  • yast2-ruby-bindings >= 3.1.53-9.8.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-ESPOS-2020-1570
SUSE Linux Enterprise Server 12 SP2-LTSS
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
  • yast2-ruby-bindings >= 3.1.53-9.8.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2020-1570
SUSE Linux Enterprise Server 12 SP3-BCL
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
Patchnames:
SUSE-SLE-SERVER-12-SP3-BCL-2020-1570
SUSE Linux Enterprise Server 12 SP3-ESPOS
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
Patchnames:
SUSE-SLE-SERVER-12-SP3-ESPOS-2020-1570
SUSE Linux Enterprise Server 12 SP3-LTSS
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
Patchnames:
SUSE-SLE-SERVER-12-SP3-2020-1570
SUSE Linux Enterprise Server 12 SP4
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
Patchnames:
SUSE-SLE-SERVER-12-SP4-2020-1570
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
Patchnames:
SUSE-SLE-SERVER-12-SP5-2020-1570
SUSE Linux Enterprise Server 15-LTSS
  • libruby2_5-2_5 >= 2.5.7-4.8.1
  • ruby2.5 >= 2.5.7-4.8.1
  • ruby2.5-devel >= 2.5.7-4.8.1
  • ruby2.5-devel-extra >= 2.5.7-4.8.1
  • ruby2.5-stdlib >= 2.5.7-4.8.1
Patchnames:
SUSE-SLE-Product-SLES-15-2020-737
SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
  • yast2-ruby-bindings >= 3.1.53-9.8.1
Patchnames:
SUSE-SLE-SAP-12-SP2-2020-1570
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
Patchnames:
SUSE-SLE-SAP-12-SP3-2020-1570
SUSE Linux Enterprise Server for SAP Applications 15
  • libruby2_5-2_5 >= 2.5.7-4.8.1
  • ruby2.5 >= 2.5.7-4.8.1
  • ruby2.5-devel >= 2.5.7-4.8.1
  • ruby2.5-devel-extra >= 2.5.7-4.8.1
  • ruby2.5-stdlib >= 2.5.7-4.8.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-2020-737
SUSE Linux Enterprise Software Development Kit 12 SP4
  • ruby2.1-devel >= 2.1.9-19.3.2
Patchnames:
SUSE-SLE-SDK-12-SP4-2020-1570
SUSE Linux Enterprise Software Development Kit 12 SP5
  • ruby2.1-devel >= 2.1.9-19.3.2
Patchnames:
SUSE-SLE-SDK-12-SP5-2020-1570
SUSE OpenStack Cloud 7
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
  • yast2-ruby-bindings >= 3.1.53-9.8.1
Patchnames:
SUSE-OpenStack-Cloud-7-2020-1570
SUSE OpenStack Cloud 8
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
Patchnames:
SUSE-OpenStack-Cloud-8-2020-1570
SUSE OpenStack Cloud Crowbar 8
  • libruby2_1-2_1 >= 2.1.9-19.3.2
  • ruby2.1 >= 2.1.9-19.3.2
  • ruby2.1-stdlib >= 2.1.9-19.3.2
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-8-2020-1570
openSUSE Leap 15.1
  • libruby2_5-2_5 >= 2.5.7-lp151.4.6.1
  • ruby2.5 >= 2.5.7-lp151.4.6.1
  • ruby2.5-devel >= 2.5.7-lp151.4.6.1
  • ruby2.5-devel-extra >= 2.5.7-lp151.4.6.1
  • ruby2.5-doc >= 2.5.7-lp151.4.6.1
  • ruby2.5-doc-ri >= 2.5.7-lp151.4.6.1
  • ruby2.5-stdlib >= 2.5.7-lp151.4.6.1
Patchnames:
openSUSE-2020-395


First public cloud image revisions this CVE is fixed in:


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
ruby Affected
HPE Helion OpenStack 8 ruby In progress
HPE Helion OpenStack 8 ruby2.1 Released
Magnum Orchestration ruby2.1 Affected
SLED-10-SP3 ruby Unsupported
SLED-10-SP4 ruby Affected
SLES for SAP Applications ruby Unsupported
SUSE CaaS Platform 3.0 ruby2.1 Affected
SUSE CaaS Platform 4.0 ruby In progress
SUSE CaaS Platform 4.0 ruby2.5 Released
SUSE Cloud 5 ruby2.1 Affected
SUSE Container as a Service Platform 1.0 ruby2.1 Affected
SUSE Container as a Service Platform 2.0 ruby2.1 Affected
SUSE Enterprise Storage 5 ruby2.1 Released
SUSE Enterprise Storage 6 ruby In progress
SUSE Enterprise Storage 6 ruby2.5 Released
SUSE Lifecycle Management Server 1.3 ruby Affected
SUSE Linux Enterprise Desktop 11 ruby Affected
SUSE Linux Enterprise Desktop 11 SP1 ruby Affected
SUSE Linux Enterprise Desktop 11 SP2 ruby Affected
SUSE Linux Enterprise Desktop 11 SP3 ruby Affected
SUSE Linux Enterprise Desktop 11 SP4 ruby Affected
SUSE Linux Enterprise Desktop 12 ruby Affected
SUSE Linux Enterprise Desktop 12 ruby2.1 Affected
SUSE Linux Enterprise Desktop 12 SP1 ruby Affected
SUSE Linux Enterprise Desktop 12 SP1 ruby2.1 Affected
SUSE Linux Enterprise Desktop 12 SP2 ruby Affected
SUSE Linux Enterprise Desktop 12 SP2 ruby2.1 Affected
SUSE Linux Enterprise Desktop 12 SP3 ruby Affected
SUSE Linux Enterprise Desktop 12 SP3 ruby2.1 Affected
SUSE Linux Enterprise Desktop 12 SP4 ruby Not affected
SUSE Linux Enterprise Desktop 12 SP4 ruby2.1 Affected
SUSE Linux Enterprise Desktop 12 SP5 ruby Affected
SUSE Linux Enterprise Desktop 12 SP5 ruby2.1 Affected
SUSE Linux Enterprise Enterprise Server 11 SP1 for SAP Enterprise Search ruby Affected
SUSE Linux Enterprise High Performance Computing 12 SP2 ruby Unsupported
SUSE Linux Enterprise High Performance Computing 12 SP2 ruby2.1 Unsupported
SUSE Linux Enterprise High Performance Computing 12 SP3 ruby Affected
SUSE Linux Enterprise High Performance Computing 12 SP3 ruby2.1 Affected
SUSE Linux Enterprise High Performance Computing 12 SP4 ruby Not affected
SUSE Linux Enterprise High Performance Computing 12 SP4 ruby2.1 Released
SUSE Linux Enterprise High Performance Computing 12 SP5 ruby In progress
SUSE Linux Enterprise High Performance Computing 12 SP5 ruby2.1 Released
SUSE Linux Enterprise High Performance Computing 15 LTSS ruby In progress
SUSE Linux Enterprise High Performance Computing 15 LTSS ruby2.5 Released
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS ruby In progress
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS ruby2.5 Released
SUSE Linux Enterprise Module for Basesystem 15 ruby Not affected
SUSE Linux Enterprise Module for Basesystem 15 ruby2.5 Affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 ruby Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP1 ruby2.5 Released
SUSE Linux Enterprise Module for Basesystem 15 SP2 ruby In progress
SUSE Linux Enterprise Module for Basesystem 15 SP2 ruby2.5 Released
SUSE Linux Enterprise Point of Service Image Server 12 ruby2.1 Released
SUSE Linux Enterprise Server 11 ruby Affected
SUSE Linux Enterprise Server 11 SP1 ruby Affected
SUSE Linux Enterprise Server 11 SP1 LTSS ruby Affected
SUSE Linux Enterprise Server 11 SP2 ruby Affected
SUSE Linux Enterprise Server 11 SP2 LTSS ruby Affected
SUSE Linux Enterprise Server 11 SP2 for VMware ruby Affected
SUSE Linux Enterprise Server 11 SP3 ruby Affected
SUSE Linux Enterprise Server 11 SP3 LTSS ruby Affected
SUSE Linux Enterprise Server 11 SP3 for VMware ruby Affected
SUSE Linux Enterprise Server 11 SP4 ruby Affected
SUSE Linux Enterprise Server 11 SP4 LTSS ruby Affected
SUSE Linux Enterprise Server 12 ruby Affected
SUSE Linux Enterprise Server 12 ruby2.1 Affected
SUSE Linux Enterprise Server 12 LTSS ruby Affected
SUSE Linux Enterprise Server 12 LTSS ruby2.1 Affected
SUSE Linux Enterprise Server 12 SP1 ruby Affected
SUSE Linux Enterprise Server 12 SP1 ruby2.1 Affected
SUSE Linux Enterprise Server 12 SP1 LTSS ruby Not affected
SUSE Linux Enterprise Server 12 SP1 LTSS ruby2.1 In progress
SUSE Linux Enterprise Server 12 SP2 ruby Affected
SUSE Linux Enterprise Server 12 SP2 ruby2.1 Affected
SUSE Linux Enterprise Server 12 SP2 BCL ruby In progress
SUSE Linux Enterprise Server 12 SP2 BCL ruby2.1 Released
SUSE Linux Enterprise Server 12 SP2 ESPOS ruby2.1 Released
SUSE Linux Enterprise Server 12 SP2 LTSS ruby Not affected
SUSE Linux Enterprise Server 12 SP2 LTSS ruby2.1 Released
SUSE Linux Enterprise Server 12 SP2 LTSS ERICSSON ruby In progress
SUSE Linux Enterprise Server 12 SP2 LTSS ERICSSON ruby2.1 Released
SUSE Linux Enterprise Server 12 SP2 LTSS SAP ruby In progress
SUSE Linux Enterprise Server 12 SP2 LTSS SAP ruby2.1 Released
SUSE Linux Enterprise Server 12 SP3 ruby Affected
SUSE Linux Enterprise Server 12 SP3 ruby2.1 Affected
SUSE Linux Enterprise Server 12 SP3 BCL ruby In progress
SUSE Linux Enterprise Server 12 SP3 BCL ruby2.1 Released
SUSE Linux Enterprise Server 12 SP3 ESPOS ruby In progress
SUSE Linux Enterprise Server 12 SP3 ESPOS ruby2.1 Released
SUSE Linux Enterprise Server 12 SP3 LTSS ruby In progress
SUSE Linux Enterprise Server 12 SP3 LTSS ruby2.1 Released
SUSE Linux Enterprise Server 12 SP4 ruby Not affected
SUSE Linux Enterprise Server 12 SP4 ruby2.1 Released
SUSE Linux Enterprise Server 12 SP4 ESPOS ruby In progress
SUSE Linux Enterprise Server 12 SP4 ESPOS ruby2.1 Released
SUSE Linux Enterprise Server 12 SP4 LTSS ruby In progress
SUSE Linux Enterprise Server 12 SP4 LTSS ruby2.1 Released
SUSE Linux Enterprise Server 12 SP5 ruby In progress
SUSE Linux Enterprise Server 12 SP5 ruby2.1 Released
SUSE Linux Enterprise Server 15 LTSS ruby In progress
SUSE Linux Enterprise Server 15 LTSS ruby2.5 Released
SUSE Linux Enterprise Server 15 SP1 Business Critical Linux ruby In progress
SUSE Linux Enterprise Server 15 SP1 Business Critical Linux ruby2.5 Released
SUSE Linux Enterprise Server 15 SP1 LTSS ruby In progress
SUSE Linux Enterprise Server 15 SP1 LTSS ruby2.5 Released
SUSE Linux Enterprise Server ESPOS 15 ruby In progress
SUSE Linux Enterprise Server ESPOS 15 ruby2.5 Released
SUSE Linux Enterprise Server for SAP Applications 12 ruby Affected
SUSE Linux Enterprise Server for SAP Applications 12 ruby2.1 Affected
SUSE Linux Enterprise Server for SAP Applications 12 SP2 ruby Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP2 ruby2.1 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP3 ruby In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP3 ruby2.1 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP4 ruby In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP4 ruby2.1 Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 ruby In progress
SUSE Linux Enterprise Server for SAP Applications 12 SP5 ruby2.1 Released
SUSE Linux Enterprise Server for SAP Applications 15 ruby In progress
SUSE Linux Enterprise Server for SAP Applications 15 ruby2.5 Released
SUSE Linux Enterprise Server for SAP Applications 15 SP1 ruby In progress
SUSE Linux Enterprise Server for SAP Applications 15 SP1 ruby2.5 Released
SUSE Linux Enterprise Server for SAP Business All-in-One ruby Affected
SUSE Linux Enterprise Server for the Raspberry Pi ruby Affected
SUSE Linux Enterprise Server for the Raspberry Pi ruby2.1 Affected
SUSE Linux Enterprise Software Development Kit 11 ruby Affected
SUSE Linux Enterprise Software Development Kit 11 SP1 ruby Affected
SUSE Linux Enterprise Software Development Kit 11 SP2 ruby Affected
SUSE Linux Enterprise Software Development Kit 11 SP3 ruby Affected
SUSE Linux Enterprise Software Development Kit 11 SP4 ruby Affected
SUSE Linux Enterprise Software Development Kit 12 ruby Affected
SUSE Linux Enterprise Software Development Kit 12 ruby2.1 Affected
SUSE Linux Enterprise Software Development Kit 12 SP1 ruby Affected
SUSE Linux Enterprise Software Development Kit 12 SP1 ruby2.1 Affected
SUSE Linux Enterprise Software Development Kit 12 SP3 ruby Affected
SUSE Linux Enterprise Software Development Kit 12 SP3 ruby2.1 Affected
SUSE Linux Enterprise Software Development Kit 12 SP4 ruby Not affected
SUSE Linux Enterprise Software Development Kit 12 SP4 ruby2.1 Released
SUSE Linux Enterprise Software Development Kit 12 SP5 ruby Not affected
SUSE Linux Enterprise Software Development Kit 12 SP5 ruby2.1 Released
SUSE Manager Proxy 4.0 ruby In progress
SUSE Manager Proxy 4.0 ruby2.5 Released
SUSE Manager Retail Branch Server 4.0 ruby In progress
SUSE Manager Retail Branch Server 4.0 ruby2.5 Released
SUSE Manager Server 4.0 ruby In progress
SUSE Manager Server 4.0 ruby2.5 Released
SUSE OpenStack Cloud 7 ruby2.1 Released
SUSE OpenStack Cloud 8 ruby In progress
SUSE OpenStack Cloud 8 ruby2.1 Released
SUSE OpenStack Cloud 9 ruby In progress
SUSE OpenStack Cloud 9 ruby2.1 Released
SUSE OpenStack Cloud Crowbar 8 ruby In progress
SUSE OpenStack Cloud Crowbar 8 ruby2.1 Released
SUSE OpenStack Cloud Crowbar 9 ruby In progress
SUSE OpenStack Cloud Crowbar 9 ruby2.1 Released
SUSE Studio Extension for System z 1.2 ruby Affected
SUSE Studio Onsite ruby Affected
WebYaST for SLE-11 ruby Affected