CVE-2024-2410
published 2024-05-03CVE-2024-2410: 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…
PriorityP343critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.33%
25.2th percentile
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | protobuf | — | — |
| protobuf | >= 4.22.0 < 4.25.0 | 4.25.0 | |
| msrc | azl3_mysql_8.0.40-2_on_azure_linux_3.0 | — | — |
| msrc | azl3_mysql_8.0.41-1_on_azure_linux_3.0 | — | — |
| msrc | cbl2_mysql_8.0.40-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_mysql_8.0.41-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| protocolbuffers | protobuf | >= 4.22.0 < 4.25.0 | 4.25.0 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vendor_debian7.6LOW
vendor_msrc7.6HIGH
vendor_redhat7.6HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-h86c-v8g6-46f2: The JsonToBinaryStream() function is part of the protocol buffers C++ implementation and is used to parse JSON from a stream
ghsa_unreviewed·2024-05-03
CVE-2024-2410 [HIGH] CWE-416 GHSA-h86c-v8g6-46f2: The JsonToBinaryStream() function is part of the protocol buffers C++ implementation and is used to parse JSON from a stream
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.
Microsoft
Use after free in C++ protobuf
vendor_msrc·2024-05-14·CVSS 7.6
CVE-2024-2410 [HIGH] CWE-416 Use after free in C++ protobuf
Use after free in C++ protobuf
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
Google: Google
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-us/az
Red Hat
protobuf: Use-after-free in JsonToBinaryStream()
vendor_redhat·2024-05-03·CVSS 7.6
CVE-2024-2410 [HIGH] CWE-416 protobuf: Use-after-free in JsonToBinaryStream()
protobuf: Use-after-free in JsonToBinaryStream()
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.
A flaw was found in protobuf, the protocol buffer C++ implementation. A use-after-free can be triggered when reading a crafted JSON input split into separate chunks with the JsonToBinaryStream function. A successful attack may result in data leak or corruption or cause the application to crash.
Statement: The protobuf package, as shipped in Red Hat Enterprise Linux 7, 8 and 9, is not affected by this vulnerability because the vulnerable code was introduced in a newer versi
Debian
CVE-2024-2410: protobuf - The JsonToBinaryStream() function is part of the protocol buffers C++ implementa...
vendor_debian·2024·CVSS 7.6
CVE-2024-2410 [HIGH] CVE-2024-2410: protobuf - The JsonToBinaryStream() function is part of the protocol buffers C++ implementa...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
No detection rules found.
No public exploits indexed.
2024-05-03
Published