Lucene search

K
cveCertccCVE-2016-2339
HistoryJan 06, 2017 - 9:59 p.m.

CVE-2016-2339

2017-01-0621:59:00
CWE-119
certcc
web.nvd.nist.gov
103
cve-2016-2339
ruby
heap overflow
vulnerability
nvd
fiddle::function
arg_types
buffer overflow

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

7.5

Confidence

High

EPSS

0.011

Percentile

84.1%

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.

Affected configurations

Nvd
Node
ruby-langrubyMatch2.2.2
OR
ruby-langrubyMatch2.3.0
VendorProductVersionCPE
ruby-langruby2.2.2cpe:2.3:a:ruby-lang:ruby:2.2.2:*:*:*:*:*:*:*
ruby-langruby2.3.0cpe:2.3:a:ruby-lang:ruby:2.3.0:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Ruby",
    "vendor": "Ruby",
    "versions": [
      {
        "status": "affected",
        "version": "2.3.0 dev"
      },
      {
        "status": "affected",
        "version": "2.2.2"
      }
    ]
  }
]

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

7.5

Confidence

High

EPSS

0.011

Percentile

84.1%