CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2017-14064

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.
Publish Date : 2017-08-31 Last Update Date : 2019-05-13
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
7.5
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Overflow
CWE ID 119

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2018:0378: ruby security update (Important) oval:com.redhat.rhsa:def:20180378 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2017-14064

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 14.04 ~~lts~~~ Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 16.04 ~~lts~~~ Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 17.10 Version Details Vulnerabilities
4 OS Debian Debian Linux 8.0 Version Details Vulnerabilities
5 OS Debian Debian Linux 9.0 Version Details Vulnerabilities
6 OS Redhat Enterprise Linux Desktop 7.0 Version Details Vulnerabilities
7 OS Redhat Enterprise Linux Server 7.0 Version Details Vulnerabilities
8 OS Redhat Enterprise Linux Server Aus 7.4 Version Details Vulnerabilities
9 OS Redhat Enterprise Linux Server Aus 7.6 Version Details Vulnerabilities
10 OS Redhat Enterprise Linux Server Eus 7.4 Version Details Vulnerabilities
11 OS Redhat Enterprise Linux Server Eus 7.5 Version Details Vulnerabilities
12 OS Redhat Enterprise Linux Server Eus 7.6 Version Details Vulnerabilities
13 OS Redhat Enterprise Linux Server Tus 7.4 Version Details Vulnerabilities
14 OS Redhat Enterprise Linux Server Tus 7.6 Version Details Vulnerabilities
15 OS Redhat Enterprise Linux Workstation 7.0 Version Details Vulnerabilities
16 Application Ruby-lang Ruby 2.2.7 Version Details Vulnerabilities
17 Application Ruby-lang Ruby 2.3.0 Preview1 Version Details Vulnerabilities
18 Application Ruby-lang Ruby 2.3.0 Preview2 Version Details Vulnerabilities
19 Application Ruby-lang Ruby 2.3.0 Version Details Vulnerabilities
20 Application Ruby-lang Ruby 2.3.1 Version Details Vulnerabilities
21 Application Ruby-lang Ruby 2.3.2 Version Details Vulnerabilities
22 Application Ruby-lang Ruby 2.3.3 Version Details Vulnerabilities
23 Application Ruby-lang Ruby 2.3.4 Version Details Vulnerabilities
24 Application Ruby-lang Ruby 2.4.0 RC1 Version Details Vulnerabilities
25 Application Ruby-lang Ruby 2.4.0 Version Details Vulnerabilities
26 Application Ruby-lang Ruby 2.4.0 Preview1 Version Details Vulnerabilities
27 Application Ruby-lang Ruby 2.4.0 Preview2 Version Details Vulnerabilities
28 Application Ruby-lang Ruby 2.4.0 Preview3 Version Details Vulnerabilities
29 Application Ruby-lang Ruby 2.4.1 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 3
Debian Debian Linux 2
Redhat Enterprise Linux Desktop 1
Redhat Enterprise Linux Server 1
Redhat Enterprise Linux Server Aus 2
Redhat Enterprise Linux Server Eus 3
Redhat Enterprise Linux Server Tus 2
Redhat Enterprise Linux Workstation 1
Ruby-lang Ruby 14

- References For CVE-2017-14064

http://www.securitytracker.com/id/1039363
SECTRACK 1039363
https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/ CONFIRM
https://www.debian.org/security/2017/dsa-3966
DEBIAN DSA-3966
https://usn.ubuntu.com/3685-1/
UBUNTU USN-3685-1
https://github.com/flori/json/commit/8f782fd8e181d9cfe9387ded43a5ca9692266b85
https://access.redhat.com/errata/RHSA-2018:0583
REDHAT RHSA-2018:0583
https://security.gentoo.org/glsa/201710-18
GENTOO GLSA-201710-18
https://access.redhat.com/errata/RHSA-2018:0585
REDHAT RHSA-2018:0585
https://bugs.ruby-lang.org/issues/13853
https://hackerone.com/reports/209949
http://www.securitytracker.com/id/1042004
SECTRACK 1042004
https://access.redhat.com/errata/RHSA-2018:0378
REDHAT RHSA-2018:0378
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
MLIST [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update
https://access.redhat.com/errata/RHSA-2017:3485
REDHAT RHSA-2017:3485
https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/ CONFIRM
http://www.securityfocus.com/bid/100890
BID 100890 Ruby CVE-2017-14064 Arbitrary Memory Disclosure Vulnerability Release Date:2017-10-09

- Metasploit Modules Related To CVE-2017-14064

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.