Upstream information

CVE-2016-2339 at MITRE

Description

An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Ruby. In Fiddle::Function.new "initialize" heap buffer "arg_types" allocation is made based on args array length. Specially constructed object passed as element of args array can increase this array size after mentioned allocation and cause heap overflow.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database SUSE
Base Score 7.5 6.8
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network Network
Access Complexity Low Medium
Authentication None None
Confidentiality Impact Partial Partial
Integrity Impact Partial Partial
Availability Impact Partial Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 9.8
Vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
SUSE Bugzilla entry: 1018808 [RESOLVED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Openstack Cloud Magnum Orchestration 7
  • libruby2_1-2_1 >= 2.1.9-15.1
  • ruby2.1 >= 2.1.9-15.1
  • ruby2.1-stdlib >= 2.1.9-15.1
Patchnames:
SUSE-OpenStack-Cloud-Magnum-Orchestration-7-2017-624
SUSE Linux Enterprise Desktop 12 SP1
  • libruby2_1-2_1 >= 2.1.9-15.1
  • ruby2.1 >= 2.1.9-15.1
  • ruby2.1-stdlib >= 2.1.9-15.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP1-2017-624
SUSE Linux Enterprise Desktop 12 SP2
  • libruby2_1-2_1 >= 2.1.9-15.1
  • ruby2.1 >= 2.1.9-15.1
  • ruby2.1-stdlib >= 2.1.9-15.1
Patchnames:
SUSE-SLE-DESKTOP-12-SP2-2017-624
SUSE Linux Enterprise Desktop 12 SP3
  • libruby2_1-2_1 >= 2.1.9-18.1
  • ruby2.1 >= 2.1.9-18.1
  • ruby2.1-stdlib >= 2.1.9-18.1
Patchnames:
SUSE Linux Enterprise Desktop 12 SP3 GA libruby2_1-2_1
SUSE Linux Enterprise Server 12 SP1
  • libruby2_1-2_1 >= 2.1.9-15.1
  • ruby2.1 >= 2.1.9-15.1
  • ruby2.1-stdlib >= 2.1.9-15.1
Patchnames:
SUSE-SLE-SERVER-12-SP1-2017-624
SUSE Linux Enterprise Server 12 SP2
  • libruby2_1-2_1 >= 2.1.9-15.1
  • ruby2.1 >= 2.1.9-15.1
  • ruby2.1-stdlib >= 2.1.9-15.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2017-624
SUSE Linux Enterprise Server 12 SP3
  • libruby2_1-2_1 >= 2.1.9-18.1
  • ruby2.1 >= 2.1.9-18.1
  • ruby2.1-stdlib >= 2.1.9-18.1
Patchnames:
SUSE Linux Enterprise Server 12 SP3 GA libruby2_1-2_1
SUSE Linux Enterprise Server for Raspberry Pi 12 SP2
  • libruby2_1-2_1 >= 2.1.9-15.1
  • ruby2.1 >= 2.1.9-15.1
  • ruby2.1-stdlib >= 2.1.9-15.1
Patchnames:
SUSE-SLE-RPI-12-SP2-2017-624
SUSE Linux Enterprise Software Development Kit 12 SP1
  • ruby2.1 >= 2.1.9-15.1
  • ruby2.1-devel >= 2.1.9-15.1
Patchnames:
SUSE-SLE-SDK-12-SP1-2017-624
SUSE Linux Enterprise Software Development Kit 12 SP2
  • ruby2.1 >= 2.1.9-15.1
  • ruby2.1-devel >= 2.1.9-15.1
Patchnames:
SUSE-SLE-SDK-12-SP2-2017-624
SUSE Linux Enterprise Software Development Kit 12 SP3
  • ruby2.1-devel >= 2.1.9-18.1
Patchnames:
SUSE Linux Enterprise Software Development Kit 12 SP3 GA ruby2.1-devel
SUSE Studio Onsite 1.3
  • ruby19 >= 1.9.3.p392-0.26.1
  • ruby19-devel >= 1.9.3.p392-0.26.1
  • ruby19-devel-extra >= 1.9.3.p392-0.26.1
Patchnames:
slestso13-ruby19-13046
SUSE Studio Onsite Runner 1.3
  • ruby19 >= 1.9.3.p392-0.26.1
Patchnames:
slestso13-ruby19-13046
openSUSE Leap 42.1
  • libruby2_1-2_1 >= 2.1.9-10.2
  • libruby2_1-2_1-debuginfo >= 2.1.9-10.2
  • libruby2_2-2_2 >= 2.2.6-6.1
  • libruby2_2-2_2-debuginfo >= 2.2.6-6.1
  • ruby2.1 >= 2.1.9-10.2
  • ruby2.1-debuginfo >= 2.1.9-10.2
  • ruby2.1-debugsource >= 2.1.9-10.2
  • ruby2.1-devel >= 2.1.9-10.2
  • ruby2.1-devel-extra >= 2.1.9-10.2
  • ruby2.1-doc >= 2.1.9-10.2
  • ruby2.1-doc-ri >= 2.1.9-10.2
  • ruby2.1-stdlib >= 2.1.9-10.2
  • ruby2.1-stdlib-debuginfo >= 2.1.9-10.2
  • ruby2.2 >= 2.2.6-6.1
  • ruby2.2-debuginfo >= 2.2.6-6.1
  • ruby2.2-debugsource >= 2.2.6-6.1
  • ruby2.2-devel >= 2.2.6-6.1
  • ruby2.2-devel-extra >= 2.2.6-6.1
  • ruby2.2-doc >= 2.2.6-6.1
  • ruby2.2-doc-ri >= 2.2.6-6.1
  • ruby2.2-stdlib >= 2.2.6-6.1
  • ruby2.2-stdlib-debuginfo >= 2.2.6-6.1
  • ruby2.2-tk >= 2.2.6-6.1
  • ruby2.2-tk-debuginfo >= 2.2.6-6.1
Patchnames:
openSUSE-2017-435
openSUSE-2017-527
openSUSE Leap 42.2
  • libruby2_1-2_1 >= 2.1.9-8.3.2
  • libruby2_1-2_1-debuginfo >= 2.1.9-8.3.2
  • libruby2_2-2_2 >= 2.2.6-6.3.1
  • libruby2_2-2_2-debuginfo >= 2.2.6-6.3.1
  • libruby2_3-2_3 >= 2.3.3-2.3.1
  • libruby2_3-2_3-debuginfo >= 2.3.3-2.3.1
  • ruby2.1 >= 2.1.9-8.3.2
  • ruby2.1-debuginfo >= 2.1.9-8.3.2
  • ruby2.1-debugsource >= 2.1.9-8.3.2
  • ruby2.1-devel >= 2.1.9-8.3.2
  • ruby2.1-devel-extra >= 2.1.9-8.3.2
  • ruby2.1-doc >= 2.1.9-8.3.2
  • ruby2.1-doc-ri >= 2.1.9-8.3.2
  • ruby2.1-stdlib >= 2.1.9-8.3.2
  • ruby2.1-stdlib-debuginfo >= 2.1.9-8.3.2
  • ruby2.2 >= 2.2.6-6.3.1
  • ruby2.2-debuginfo >= 2.2.6-6.3.1
  • ruby2.2-debugsource >= 2.2.6-6.3.1
  • ruby2.2-devel >= 2.2.6-6.3.1
  • ruby2.2-devel-extra >= 2.2.6-6.3.1
  • ruby2.2-doc >= 2.2.6-6.3.1
  • ruby2.2-doc-ri >= 2.2.6-6.3.1
  • ruby2.2-stdlib >= 2.2.6-6.3.1
  • ruby2.2-stdlib-debuginfo >= 2.2.6-6.3.1
  • ruby2.2-tk >= 2.2.6-6.3.1
  • ruby2.2-tk-debuginfo >= 2.2.6-6.3.1
  • ruby2.3 >= 2.3.3-2.3.1
  • ruby2.3-debuginfo >= 2.3.3-2.3.1
  • ruby2.3-debugsource >= 2.3.3-2.3.1
  • ruby2.3-devel >= 2.3.3-2.3.1
  • ruby2.3-devel-extra >= 2.3.3-2.3.1
  • ruby2.3-doc >= 2.3.3-2.3.1
  • ruby2.3-doc-ri >= 2.3.3-2.3.1
  • ruby2.3-stdlib >= 2.3.3-2.3.1
  • ruby2.3-stdlib-debuginfo >= 2.3.3-2.3.1
  • ruby2.3-tk >= 2.3.3-2.3.1
  • ruby2.3-tk-debuginfo >= 2.3.3-2.3.1
Patchnames:
openSUSE-2017-435
openSUSE-2017-527
openSUSE Leap 42.3
  • libruby2_1-2_1 >= 2.1.9-9.1
  • ruby2.1 >= 2.1.9-9.1
  • ruby2.1-devel >= 2.1.9-9.1
  • ruby2.1-stdlib >= 2.1.9-9.1
Patchnames:
openSUSE Leap 42.3 GA libruby2_1-2_1


Status of this issue by product and package

Product(s) Source package State
SUSE Lifecycle Management Server 1.3 ruby Not affected
SUSE Linux Enterprise Desktop 12 SP1 ruby Unsupported
SUSE Linux Enterprise Desktop 12 SP2 ruby Affected
SUSE Linux Enterprise SDK 11 SP4 ruby Not affected
SUSE Linux Enterprise SDK 12 SP1 ruby Unsupported
SUSE Linux Enterprise SDK 12 SP2 ruby Affected
SUSE Linux Enterprise Server 11 SP4 ruby Not affected
SUSE Linux Enterprise Server 12 SP1 ruby Unsupported
SUSE Linux Enterprise Server 12 SP2 ruby Affected
SUSE Studio Onsite 1.3 ruby Not affected
SUSE Studio Onsite 1.3 ruby19 Released