Heap overflow in Ruby's Fiddle::Function.new
Ruby Ruby
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 5.144%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Ruby | Ruby | Affected versions:2.3.0 devShow full version range for Ruby2.2.2 |
| Vendor:ruby-lang | ruby | Affected versions:2.2.2Show full version range for ruby2.3.0 |
| Vendor:redhat | rubyEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby
|
| Vendor:redhat | ruby-develEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-devel
|
| Vendor:redhat | ruby-docEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-doc
|
| Vendor:redhat | ruby-irbEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-irb
|
| Vendor:redhat | ruby-libsEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-libs
|
| Vendor:redhat | ruby-tcltkEnvironments (1)
| Affected versions:Range not specifiedShow full version range for ruby-tcltk
|
| Vendor:redhat | rubygem-bigdecimalEnvironments (1)
| Affected versions:Range not specifiedShow full version range for rubygem-bigdecimal
|
| Vendor:redhat | rubygem-io-consoleEnvironments (1)
| Affected versions:Range not specifiedShow full version range for rubygem-io-console
|
1–10 of 36 · Page 1 of 4
CVSS scores and metrics8
[email protected] · NVD (Primary)Primary9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCVE-2016-2339 · OSV (source-vector)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hnvd · Wazuh CTI (cna)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat · Wazuh CTI (adp)7.0 / 10HighCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hcanonical · Wazuh CTI (adp)9.8 / 10CriticalCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HRed Hat · Red Hat VEX (adp)7.0 / 10HighCVSS 3.0Details
- Attack complexity
- High
- Confidentiality
- High
- Integrity
- High
- Availability
- High
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H[email protected] · NVD (Primary)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories25
- cve.org
- NVD
- OSV
- Wazuh CTI
- Red Hat VEX
- FIRST EPSS
- securityfocus.com
- talosintelligence.com
- lists.debian.org
- SUSE CVE-2016-2339
- openSUSE-SU-2017:0933-1
- openSUSE-SU-2017:1128-1
- ubuntu.com
- ubuntu.com
- access.redhat.com
- SUSE-CU-2019:738-1
- SUSE-CU-2020:661-1
- SUSE-SU-2017:0914-1
- SUSE-SU-2017:1067-1
- SUSE-SU-2020:1570-1
- openSUSE-SU-2017:0933-1
- openSUSE-SU-2017:1128-1
- SUSE-SU-2017:0914-1
- SUSE-SU-2017:1067-1
- Mitre CVE-2016-2339
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences