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.
Remediation
References
Related Vulnerabilities
WordPress Plugin IBPS Online Exam Multiple Vulnerabilities (1.0)
Atlassian Jira CVE-2019-8448 Vulnerability (CVE-2019-8448)
WordPress 2.8.4 Denial of Service Vulnerability (0.6.2 - 2.8.4)
WordPress Plugin WP Reroute Email SQL Injection (1.4.6)
WordPress Plugin Limit Attempts by BestWebSoft SQL Injection (1.1.0)