Advisory

UBUNTU-CVE-2016-2339

Also known as: CVE-2016-2339

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2017-01-06 00:00 UTC
Modified
2026-04-22 10:23 UTC

Affected packages and fixes

ruby1.9.1

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 1.9.3.484-2ubuntu1.3 (ecosystem)

Fixed versions

1.9.3.484-2ubuntu1.3

Fix

  • Fixed version 1.9.3.484-2ubuntu1.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

ruby2.0

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 2.0.0.484-1ubuntu2.4 (ecosystem)

Fixed versions

2.0.0.484-1ubuntu2.4

Fix

  • Fixed version 2.0.0.484-1ubuntu2.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences