parse_string in cJSON before 1.7.18 has a heap-based buffer over-read via {"1":1, with no trailing newline if cJSON_ParseWithLength is called.
The product reads data past the end, or before the beginning, of the intended buffer.
Link | Tags |
---|---|
https://github.com/DaveGamble/cJSON/compare/v1.7.17...v1.7.18 | release notes |
https://github.com/DaveGamble/cJSON/issues/800 | exploit issue tracking vendor advisory |