CVE-2018-17072

JSON++ through 2016-06-15 has a buffer over-read in yyparse() in json.y

published September 16, 2018

CVSS
—
EPSS
2%
Percentile
75.4
In the wild
Unconfirmed
What it is

⚠️ A sneaky buffer over-read lurks in JSON++! This could lead to unexpected behavior when parsing, like a chef accidentally reading recipe notes from an empty page. 🥴 Think of it like trying to read the instructions for a complex dish, but you end up with a blank page instead of the full recipe. You might throw in random ingredients that don't belong, leading to a culinary disaster! While this vulnerability hasn't been reported as actively exploited, it could still lead to unexpected application behavior, errors, or even crashes. An attacker could potentially leverage this to manipulate the application's behavior in subtle ways, resulting in data leaks or application instability.

Put simply

Think of it like trying to read the instructions for a complex dish, but you end up with a blank page instead of the full recipe. You might throw in random ingredients that don't belong, leading to a culinary disaster! The issue arises in the yyparse() function within json.y, where it fails to properly handle buffer sizes during JSON parsing, leading to a buffer over-read condition. This can cause the parser to access memory it shouldn't, resulting in erratic application behavior.

What to do

While this vulnerability hasn't been reported as actively exploited, it could still lead to unexpected application behavior, errors, or even crashes. An attacker could potentially leverage this to manipulate the application's behavior in subtle ways, resulting in data leaks or application instability. To mitigate this vulnerability, upgrade JSON++ to the latest version or at least one released after June 15, 2016. Additionally, review your JSON parsing logic to ensure that it handles buffers correctly and doesn't over-read data. You've got this! Stay proactive, and keep your applications safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01597 · 75.4th percentile
Published
2018-09-16T02:00Z
EPSS history
Timeline
  • 16 SEP 02:00Z
    JSON++ through 2016-06-15 has a buffer over-read in yyparse() in json.y
    cvelistv5