CVE-2017-16516: yajl-ruby gem Denial of Service vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.74396%
CWE
Published
11/28/2017
Updated
11/5/2023
KEV Status
No
Technology
Ruby
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
yajl-ruby | rubygems | < 1.3.1 | 1.3.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in yajl_string_decode as shown by the crash location (SIGABRT in this function) and the patched commit modifying this function. The original code advanced the 'end' pointer before checking buffer limits and unicode escape validity, creating a race condition where it could read past allocated memory. The patch explicitly moves boundary checks before pointer advancement, confirming this was the root cause.