CVE-2024-8375

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-8375
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8375.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-8375
Aliases
Published
2024-09-19T16:15:06Z
Modified
2024-10-07T23:30:57Z
Summary
[none]
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 tensorcontent to the previously mentioned pre-allocated memory, which results in the bytes in tensorcontent 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

References

Affected packages

Git / github.com/google-deepmind/reverb

Affected ranges

Type
GIT
Repo
https://github.com/google-deepmind/reverb
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed