PT-2024-3777 · Google · Protocol Buffers
Published
2024-05-03
·
Updated
2025-09-05
·
CVE-2024-2410
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
protocol buffers versions prior to 4.24.x
Description
The issue is related to the JsonToBinaryStream() function, which is part of the protocol buffers C++ implementation. This function 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. This can be exploited by a remote attacker to execute arbitrary code using a specially crafted JSON file.
Recommendations
For protocol buffers versions prior to 4.24.x, upgrade the protocol buffers to a version that contains the fix for this issue.
As a temporary workaround, consider restricting the use of the JsonToBinaryStream() function until a patch is available.
Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Protocol Buffers