CVE-2024-8375: Reverb - Use After Free
- Cve: CVE-2024-8375
- Name: Reverb - Use After Free
- 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
- Impact: Attackers can execute arbitrary code or cause denial of service by controlling program flow during object method calls.
- Remediation: Upgrade to version after commit https://github.com/google-deepmind/reverb/commit/6a0dcf4c9e842b7f999912f792aaa6f6bd261a25.
- Vulnerability type: use_after_free
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00123
- Epss percentile: 0.0205
- Assignee: [email protected]
- Published at: 2024-09-19T16:15:06Z
- Age in days: 796
- Modified at: 2026-06-17T08:22:27Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-8375
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
| CWE-416 | Use After Free |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/google-deepmind/reverb/commit/6a0dcf4c9e842b7f999912f792aaa6f6bd261a25 | nvd | Patch |
| https://github.com/google-deepmind/reverb/issues/141 | nvd | Issue Tracking, Patch |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| google:reverb | < 2024-08-05 | no | nvd | /v1/products/google/reverb |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| google-deepmind/reverb | commit, fix, issues, package | yes | /v1/repositories/google-deepmind/reverb |
Index
- Repositories: 6
- Repositories high signal: 2
- Packages: 2
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts