Rapid7 Vulnerability & Exploit Database

Ubuntu: (Multiple Advisories) (CVE-2017-14064): Ruby regression

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Ubuntu: (Multiple Advisories) (CVE-2017-14064): Ruby regression

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
08/31/2017
Created
07/25/2018
Added
10/05/2017
Modified
03/26/2021

Description

Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call. The issues lies in using strdup in ext/json/ext/generator/generator.c, which will stop after encountering a '\0' byte, returning a pointer to a string of length zero, which is not the length stored in space_len.

Solution(s)

  • ubuntu-upgrade-libruby1-9-1
  • ubuntu-upgrade-libruby2-0
  • ubuntu-upgrade-libruby2-3
  • ubuntu-upgrade-ruby1-9-1
  • ubuntu-upgrade-ruby1-9-3
  • ubuntu-upgrade-ruby2-0
  • ubuntu-upgrade-ruby2-3

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;