Intel

AIKIDO-2024-10263

jsoncpp is vulnerable to Out-of-bounds Read

Out-of-bounds Read Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Sep 13, 2024

20

Low Risk

This Affects:

osjsoncpp
0.7.0 - 1.9.5
Fixed in 1.9.6
Are you affected? Scan for Free

TL;DR

Affected versions of the jsoncpp package are vulnerable to an out-of-bounds read. The getLocationLineAndColumn function reads past the end of the provided buffer when generating an error message at the end of the stream, particularly if the final character is \r.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

jsoncpp is vulnerable to Out-of-bounds Read in versions 0.7.0 - 1.9.5.

How to fix this

Upgrade the jsoncpp library to the patch version.