vulnerability

Alpine Linux: CVE-2017-14064: Improper Restriction of Operations within the Bounds of a Memory Buffer

Severity
7
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
Aug 31, 2017
Added
Aug 22, 2024
Modified
Dec 5, 2025

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.

Solutions

alpine-linux-upgrade-rubyalpine-linux-upgrade-ruby2-2
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.