ALPINE-CVE-2017-14064

    Dashboard / Vulnerabilities / ALPINE-CVE-2017-14064

    ALPINE-CVE-2017-14064

    Published: 31 Aug 2017Last Modified: 15 Jun 2026
    Upstream:

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: ruby

    Purl: pkg:apk/alpine/ruby?arch=source

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.4.2-r0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    ALPINE-CVE-2017-14064 | CVE-DB