CVE-2024-2410
protobuf: Use-after-free in JsonToBinaryStream()
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Azure Linux (high), CBL-Mariner (high), Red Hat (medium).
Description
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Azure Linux 3.0 | mysql | 0:8.0.40-2.azl3 |
| CBL-Mariner 2.0 | mysql | 0:8.0.40-2.cm2 |
| Red Hat | protobuf, python3-protobuf | no fix listed |
Show all 4 entries from 3 sources
| Source | Package | Fixed in |
|---|---|---|
| Azure Linux 3.0 | mysql | 0:8.0.40-2.azl3 |
| CBL-Mariner 2.0 | mysql | 0:8.0.40-2.cm2 |
| Red Hat | protobuf | no fix listed |
| Red Hat | python3-protobuf | no fix listed |