Vulnerability · Published Sep 19, 2024 · Assigned by Google

CVE-2024-8375Object deserialization in Reverb leading to RCE

Medium 5.7

In plain English

A medium-severity unsafe deserialization in Reverb from Google Deepmind. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 2% of all known vulnerabilities).

Severity (CVSS 4.0)5.7Medium
Exploit odds (30 days)0.1%top 97.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIdm-reverbno fix listedGHSA-w69q-w4h4-2fx8
PyPIdm-reverbno fix listedPYSEC-2026-2452
PyPIdm-reverb-nightlyno fix listedGHSA-w69q-w4h4-2fx8
PyPIdm-reverb-nightlyno fix listedPYSEC-2026-1306

Affected products (as reported)

VendorProductVersions
Google Deepmind Reverb 0 – before https://github.com/google-deepmind/reverb/commit/6a0dcf4c9e842b7f999912f792aaa6f6bd261a25

Weakness: CWE-502 · Vector: CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/VC:L/VI:H/VA:N/SC:L/SI:H/SA:N

References