CVE-2017-14064
Summary
| CVE | CVE-2017-14064 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-08-31 17:29:00 UTC |
| Updated | 2019-05-13 18:48:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-119
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Canonical | Ubuntu Linux | 14.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 16.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 17.10 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 14.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 16.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 17.10 | All | All | All |
| Operating System | Debian | Debian Linux | 8.0 | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Operating System | Debian | Debian Linux | 8.0 | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Desktop | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Desktop | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Aus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Aus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Aus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Aus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.5 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.5 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Eus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Tus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Tus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Tus | 7.4 | All | All | All |
| Operating System | Redhat | Enterprise Linux Server Tus | 7.6 | All | All | All |
| Operating System | Redhat | Enterprise Linux Workstation | 7.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux Workstation | 7.0 | All | All | All |
| Application | Ruby-lang | Ruby | 2.3.0 | All | All | All |
| Application | Ruby-lang | Ruby | 2.3.0 | preview1 | All | All |
| Application | Ruby-lang | Ruby | 2.3.0 | preview2 | All | All |
| Application | Ruby-lang | Ruby | 2.3.1 | All | All | All |
| Application | Ruby-lang | Ruby | 2.3.2 | All | All | All |
| Application | Ruby-lang | Ruby | 2.3.3 | All | All | All |
| Application | Ruby-lang | Ruby | 2.3.4 | All | All | All |
| Application | Ruby-lang | Ruby | 2.4.0 | All | All | All |
| Application | Ruby-lang | Ruby | 2.4.0 | preview1 | All | All |
| Application | Ruby-lang | Ruby | 2.4.0 | preview2 | All | All |
| Application | Ruby-lang | Ruby | 2.4.0 | preview3 | All | All |
| Application | Ruby-lang | Ruby | 2.4.0 | rc1 | All | All |
| Application | Ruby-lang | Ruby | 2.4.1 | All | All | All |
| Application | Ruby-lang | Ruby | 2.3.0 | All | All | All |
| Application | Ruby-lang | Ruby | 2.3.0 | preview1 | All | All |
| Application | Ruby-lang | Ruby | 2.3.0 | preview2 | All | All |
| Application | Ruby-lang | Ruby | 2.3.1 | All | All | All |
| Application | Ruby-lang | Ruby | 2.3.2 | All | All | All |
| Application | Ruby-lang | Ruby | 2.3.3 | All | All | All |
| Application | Ruby-lang | Ruby | 2.3.4 | All | All | All |
| Application | Ruby-lang | Ruby | 2.4.0 | All | All | All |
| Application | Ruby-lang | Ruby | 2.4.0 | preview1 | All | All |
| Application | Ruby-lang | Ruby | 2.4.0 | preview2 | All | All |
| Application | Ruby-lang | Ruby | 2.4.0 | preview3 | All | All |
| Application | Ruby-lang | Ruby | 2.4.0 | rc1 | All | All |
| Application | Ruby-lang | Ruby | 2.4.1 | All | All | All |
| Application | Ruby-lang | Ruby | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Ruby 2.2.8 Released | CONFIRM | www.ruby-lang.org | Vendor Advisory |
| Red Hat Customer Portal | REDHAT | access.redhat.com | Third Party Advisory |
| [SECURITY] [DLA 1421-1] ruby2.1 security update | MLIST | lists.debian.org | Mailing List, Third Party Advisory |
| Red Hat Customer Portal | REDHAT | access.redhat.com | Third Party Advisory |
| Apple macOS/OS X Multiple Remote Code Execution, Denial of Service, and Information Disclosure Attacks and Local Privilege Escalation Attacks - SecurityTracker | SECTRACK | www.securitytracker.com | Third Party Advisory, VDB Entry |
| Ruby: Multiple vulnerabilities (GLSA 201710-18) — Gentoo security | GENTOO | security.gentoo.org | Third Party Advisory |
| Fix arbitrary heap exposure problem · flori/json@8f782fd · GitHub | MISC | github.com | Issue Tracking, Patch, Third Party Advisory |
| Ruby Multiple Flaws Let Remote Users Inject Log Data, Deny Service, and Obtain Potentially Sensitive Information from the Heap - SecurityTracker | SECTRACK | www.securitytracker.com | Third Party Advisory, VDB Entry |
| Bug #13853: Backport request r58323 - Ruby master - Ruby Issue Tracking System | MISC | bugs.ruby-lang.org | Issue Tracking, Patch, Vendor Advisory |
| USN-3685-1: Ruby vulnerabilities | Ubuntu security notices | UBUNTU | usn.ubuntu.com | Third Party Advisory |
| HackerOne | MISC | hackerone.com | Exploit, Third Party Advisory |
| Red Hat Customer Portal | REDHAT | access.redhat.com | Third Party Advisory |
| Red Hat Customer Portal | REDHAT | access.redhat.com | Third Party Advisory |
| Ruby CVE-2017-14064 Arbitrary Memory Disclosure Vulnerability | BID | www.securityfocus.com | Third Party Advisory, VDB Entry |
| Ruby 2.3.5 Released | CONFIRM | www.ruby-lang.org | Vendor Advisory |
| Debian -- Security Information -- DSA-3966-1 ruby2.3 | DEBIAN | www.debian.org | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.