AVID-2026-R1617
Description
Object deserialization in Reverb leading to RCE (CVE-2024-8375)
Details
There exists a use after free vulnerability in Reverb. Reverb supports the VARIANT datatype, which is supposed to represent an arbitrary object in C++. When a tensor proto of type VARIANT is unpacked, memory is first allocated to store the entire tensor, and a ctor is called on each instance. Afterwards, Reverb copies the content in tensor_content to the previously mentioned pre-allocated memory, which results in the bytes in tensor_content overwriting the vtable pointers of all the objects which were previously allocated. Reverb exposes 2 relevant gRPC endpoints: InsertStream and SampleStream. The attacker can insert this stream into the server’s database, then when the client next calls SampleStream they will unpack the tensor into RAM, and when any method on that object is called (including its destructor) the attacker gains control of the Program Counter. We recommend upgrading past git commit https://github.com/google-deepmind/reverb/commit/6a0dcf4c9e842b7f999912f792aaa6f6bd261a25
Reason for inclusion in AVID: CVE-2024-8375 describes a deserialization-based remote code execution vulnerability in Reverb, a library used within ML/RL pipelines. Reverb is a component commonly used to build/train/deploy AI systems, making this a software supply-chain issue in AI stacks (dependencies/frameworks). The vulnerability is security-oriented (RCE, CWE-502), and the report provides explicit details and references, giving sufficient evidence for inclusion.
References
- NVD entry
- https://github.com/google-deepmind/reverb/issues/141
- https://github.com/google-deepmind/reverb/commit/6a0dcf4c9e842b7f999912f792aaa6f6bd261a25
Affected or Relevant Artifacts
- Developer: Google Deepmind
- Deployer: Google Deepmind
- Artifact Details:
| Type | Name |
|---|---|
| System | Reverb |
Impact
AVID Taxonomy Categorization
- Risk domains: Security
- SEP subcategories: S0100: Software Vulnerability
- Lifecycle stages: L06: Deployment
CWE
| ID | Description |
|---|---|
| CWE-502 | CWE-502 Deserialization of Untrusted Data |
Other information
- Report Type: Advisory
- Credits:
- Date Reported: 2024-09-19
- Version: 0.3.3
- AVID Entry