The JsonToBinaryStream() function is part of the protocol buffers C++ implementation and is used to parse JSON from a stream. If the input is broken up into separate chunks in a certain way, the parser will attempt to read bytes from a chunk that has already been freed.
{
"cna_assigner": "Google",
"cwe_ids": [
"CWE-416"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2410.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "4.22.0"
},
{
"fixed": "4.25.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"original_tag": "v25.0",
"range": [
{
"fixed": "6b5d8db01fe47478e8d400f550e797e6230d464e"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:google:protobuf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.22.0"
},
{
"fixed": "4.25.0"
}
],
"source": "CPE_RANGE"
}
]
}